Skip to content

Commit

Permalink
chore: rename ext name from maskbook to mask (DimensionDev#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui authored Jan 7, 2021
1 parent c987ff6 commit 253db31
Show file tree
Hide file tree
Showing 47 changed files with 163 additions and 163 deletions.
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ assignees: Jack-Works, jk234ert

- [ ] Chrome

- Maskbook Version:
- Mask Version:
- Browser Version:

- [ ] Firefox

- Maskbook Version:
- Mask Version:
- Browser Version:

- [ ] Android

- Maskbook Version:
- Mask Version:
- Android Version:

- [ ] iOS
- Maskbook Version:
- Mask Version:
- iOS Version:

### Build Variant

- Where do you get Maskbook?
- Where do you get Mask?
- [ ] Store
- [ ] ZIP
- [ ] Self-Compiled
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Maskbook
- name: Mask
url: https://github.com/DimensionDev/Maskbook/discussions
about: Where talks about Maskbook happen.
about: Where talks about Mask happen.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/demand.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ assignees:
## Catalogue

- [ ] UI/UX
- [ ] Maskbook Core Feature
- [ ] Maskbook Plugin Feature
- [ ] Mask Core Feature
- [ ] Mask Plugin Feature
- [ ] Security/Cryptography Feature
- [ ] Other
- /_List it here_/
Expand Down
6 changes: 3 additions & 3 deletions .unlock-protocol.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"icon": "https://mask.io/img/MB--CircleCanvas--WhiteOverBlue.svg",
"callToAction": {
"default": "Cyberian Lives Matter! Please support us for better Cyber World.",
"pending": "Thank you for supporting us! Welcome to the Maskbook Gang!",
"confirmed": "Thank you for supporting us! Welcome to the Maskbook Gang!"
"pending": "Thank you for supporting us! Welcome to the Mask Gang!",
"confirmed": "Thank you for supporting us! Welcome to the Mask Gang!"
},
"locks": {
"0x2D176cf84730706366eC0C2Ad772feA19F18908C": {
"name": "Maskbook Donation"
"name": "Mask Donation"
}
}
}
2 changes: 1 addition & 1 deletion e2e/integration/comment/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe(`${CREATE_COMMENT_STORY_URL}#Story:CreateComment(?br=wip)-BasicWorkflow
})
}

// wait maskbook inject comment form
// wait mask inject comment form
await snsPostPage.waitForSelector(sns.commentBoxSelector)

// input comment
Expand Down
2 changes: 1 addition & 1 deletion e2e/integration/comment/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe(`${READ_COMMENT_STORY_URL}#Story:ReadComment(?br=wip)-BasicWorkflow`, (
})
}

// wait maskbook decrypt comment
// wait mask decrypt comment
await snsPostPage.waitForSelector(sns.commentSelector)
const commentField = await snsPostPage.waitForFunction(
`document.querySelector('${sns.commentSelector}').shadowRoot.querySelector('[data-testid="comment_field"]')`,
Expand Down
6 changes: 3 additions & 3 deletions e2e/integration/post/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ describe(`${CREATE_POST_STORY_URL}#Story:CreatePost(?br=wip)-BasicWorkflow`, ()
await snsFeedPage.waitForTimeout(500)
}

// wait maskbook inject post dialog hint
// wait mask inject post dialog hint
await snsFeedPage.waitForSelector(sns.postDialogHintSelector)

// click the hint button open maskbook post composing view
// click the hint button open mask post composing view
const hintButton = await snsFeedPage.waitForFunction(
`document.querySelector('${sns.postDialogHintSelector}').shadowRoot.querySelector('button')`,
)
await (hintButton as any).click()
await snsFeedPage.waitForTimeout(500)

// wait maskbook inject post dialog modal
// wait mask inject post dialog modal
await snsFeedPage.waitForSelector(sns.postDialogModalSelector)

// type plain text
Expand Down
4 changes: 2 additions & 2 deletions e2e/integration/post/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ describe(`${READ_POST_STORY_URL}#Story:ReadPost(?br=wip)-BasicWorkflow`, () => {
// dismiss dialogs
await sns.dimissDialog(snsPostPage)

// wait maskbook decrypt the payload
// wait mask decrypt the payload
await snsPostPage.waitForSelector(sns.postAffixingCanvasSelector)

// validate the payload
const textPayload = await snsPostPage.waitForFunction(
`document.querySelector('${sns.postAffixingCanvasSelector}').shadowRoot.querySelector('.post-inspector [data-testid="text_payload"]')`,
)
const content = await (textPayload as any).evaluate((e: HTMLElement) => e.textContent)
expect(content.includes(text) || content.includes('Maskbook does not find the post key.')).toBeTruthy()
expect(content.includes(text) || content.includes('Mask does not find the post key.')).toBeTruthy()

// take screenshot
await helpers.screenshot(snsPostPage, `${sns.name}_post_read_${description}`)
Expand Down
6 changes: 3 additions & 3 deletions e2e/integration/setup/ConnectProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe(`${SETUP_STORY_URL}-Workflow2:ConnectProfile`, () => {
// dimiss dialogs
await sns.dimissDialog(snsPage)

// wait maskbook inject setup guide
// wait mask inject setup guide
await snsPage.waitForSelector(sns.setupGuideSelector)

// validate username
Expand All @@ -90,7 +90,7 @@ describe(`${SETUP_STORY_URL}-Workflow2:ConnectProfile`, () => {
// redirect to news feed page
await snsPage.waitForSelector(sns.composeEditorSelector)

// wait maskbook inject setup guide
// wait mask inject setup guide
await snsPage.waitForSelector(sns.setupGuideSelector)

// click the 'create' button
Expand All @@ -100,7 +100,7 @@ describe(`${SETUP_STORY_URL}-Workflow2:ConnectProfile`, () => {
await (createButton as any).click()
await snsPage.waitForTimeout(500)

// wait for maskbook inject post dialog modal
// wait for mask inject post dialog modal
await snsPage.waitForSelector(sns.postDialogModalSelector)

// validate content of the compose dialog
Expand Down
2 changes: 1 addition & 1 deletion packages/maskbook/src/UIRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function MaskbookUIRoot(JSX: JSX.Element) {
return `<!--Thanks for the crash report!
Please write down what you're doing when the crash happened, that will help us to fix it easier!-->
I was ________, then Maskbook report an error.
I was ________, then Mask report an error.
> ${message}
Expand Down
50 changes: 25 additions & 25 deletions packages/maskbook/src/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"about": "About",
"about_dialog_description": "Mask Network is a portal to the new, open Internet. With Mask Network, you can send encrypted posts to your friends, participate in cryptocurrency lucky-draws, and share encrypted files on the platforms you are already using.",
"about_dialog_description": "Mask is a portal to the new, open Internet. With Mask, you can send encrypted posts to your friends, participate in cryptocurrency lucky-draws, and share encrypted files on the platforms you are already using.",
"about_dialog_touch": "Get in touch",
"about_dialog_feedback": "Feedback: ",
"about_dialog_source_code": "Source Code: ",
"about_dialog_license": "License: ",
"add_to_key_store_failed_text": "{{error}}\nThis public key won't be saved in Maskbook.",
"add_to_key_store_failed_text": "{{error}}\nThis public key won't be saved in Mask.",
"add_to_key_store_failed_title": "The public key is NOT verified",
"add_to_key_store_success": "The public key has been added to the Keystore",
"add_to_key_store_verifying": "The public key has been found, verifying…",
Expand Down Expand Up @@ -65,12 +65,12 @@
"database_group_following_name": "Followed by {{owner}}",
"database_group_friends_default_name": "Friends of {{owner}}",
"decrypted_postbox_add_recipients": "Append recipients",
"decrypted_postbox_decrypting": "Maskbook decrypting…",
"decrypted_postbox_decoding": "Maskbook decoding…",
"decrypted_postbox_decrypting_finding_person_key": "Maskbook is looking for the public key of the author…",
"decrypted_postbox_decrypting_finding_post_key": "Maskbook is retrieving the post key to decrypt this post…",
"decrypted_postbox_decrypting": "Mask decrypting…",
"decrypted_postbox_decoding": "Mask decoding…",
"decrypted_postbox_decrypting_finding_person_key": "Mask is looking for the public key of the author…",
"decrypted_postbox_decrypting_finding_post_key": "Mask is retrieving the post key to decrypt this post…",
"decrypted_postbox_author_mismatch": "Originally posted by {{name}}",
"decrypted_postbox_title": "Decrypted by Maskbook:",
"decrypted_postbox_title": "Decrypted by Mask:",
"dismiss": "Dismiss",
"delete": "Delete",
"delete_contact": "Delete Contact",
Expand Down Expand Up @@ -98,15 +98,15 @@
"buy_now": "Buy Now",
"setup_guide_optional": "[Optional]",
"setup_guide_find_username_title": "Find your username",
"setup_guide_find_username_text": "Maskbook needs the username to connect your Profile to your Persona.<br /> Make sure it is correct.",
"setup_guide_find_username_text": "Mask needs the username to connect your Profile to your Persona.<br /> Make sure it is correct.",
"setup_guide_connect_auto": "Connect",
"setup_guide_connect_failed": "Failed… Please try it again.",
"setup_guide_create_post_auto": "Create Now",
"setup_guide_create_post_failed": "Failed… Please add it to the compose box manually.",
"setup_guide_say_hello_title": "Say hello to everyone!",
"setup_guide_say_hello_primary": "Create your first post via Maskbook.",
"setup_guide_say_hello_secondary": "You need to publish posts via Maskbook frequently to allow others to encrypt their posts for you.",
"setup_guide_say_hello_content": "Hello, Maskbook!",
"setup_guide_say_hello_primary": "Create your first post via Mask.",
"setup_guide_say_hello_secondary": "You need to publish posts via Mask frequently to allow others to encrypt their posts for you.",
"setup_guide_say_hello_content": "Hello, Mask!",
"import": "Import",
"import_failed": "Import Failed",
"import_wallet": "Import Wallet",
Expand All @@ -126,17 +126,17 @@
"ok": "OK",
"password": "Password",
"copy_to_clipboard": "Copy to clipboard",
"payload_bad": "This post seems to be corrupted. Maskbook cannot decrypt it.",
"payload_bad": "This post seems to be corrupted. Mask cannot decrypt it.",
"payload_incomplete": "This post is incomplete. You need to view the full post to decrypt it.",
"payload_not_found": "Payload not found.",
"payload_throw_in_alpha41": "Support for Alpha41 is deprecated. Tell your friends to upgrade Maskbook!",
"people_in_database": "All people recorded in the Maskbook database.",
"payload_throw_in_alpha41": "Support for Alpha41 is deprecated. Tell your friends to upgrade Mask!",
"people_in_database": "All people recorded in the Mask database.",
"person_or_group_in_chip": "{{name}} ({{count}} in the group)",
"person_or_group_in_list_0": "This is an empty group",
"person_or_group_in_list_many": "{{people}}… {{count}} in total",
"person_or_group_in_list_many_no_preview": "{{count}} in total",
"personas": "Personas",
"popup_missing_permission": "Maskbook is lacking permission to work.",
"popup_missing_permission": "Mask is lacking permission to work.",
"popup_request_permission": "Fix it",
"popup_current_persona": "Current Persona",
"popup_enter_dashboard": "Enter Dashboard",
Expand All @@ -153,9 +153,9 @@
"post_dialog__select_recipients_share_to_everyone": "Everyone",
"post_dialog__select_recipients_title": "Select Recipients",
"post_dialog__select_specific_friends_title": "Extra Specific Contacts ({{selected}} selected)",
"post_dialog__title": "Maskbook: Compose",
"post_dialog__title": "Mask: Compose",
"post_modal_hint__button": "Compose encrypted post",
"post_substitute_label": "Maskbook",
"post_substitute_label": "Mask",
"privacy_policy": "Privacy Policy",
"privacy_policy_link": "https://legal.maskbook.com/maskbook/",
"private_key": "Private key",
Expand All @@ -182,13 +182,13 @@
"select_specific_friends_dialog__button": "Done",
"select_specific_friends_dialog__title": "Select Specific Contacts",
"service_decryption_failed": "Decryption failed.",
"service_invalid_backup_file": "This does not seem like a backup of Maskbook.",
"service_not_share_target": "Maskbook does not find the post key. This post may not be intended to share with you.",
"service_invalid_backup_file": "This does not seem like a backup of Mask.",
"service_not_share_target": "Mask does not find the post key. This post may not be intended to share with you.",
"service_others_key_not_found": "The public key of {{name}} cannot be found!",
"service_publish_post_aes_key_failed": "Failed to publish the AES key!",
"service_self_key_decryption_failed": "Decryption failed. Maybe you selected a wrong identity or imported a key that was not used to encrypt this post.",
"service_decode_image_payload_failed": "Decode image failed.",
"service_unknown_payload": "Unknown post version. You may need to update Maskbook.",
"service_unknown_payload": "Unknown post version. You may need to update Mask.",
"service_username_invalid": "Invalid Username",
"set_up_tip_or": "or",
"set_up_button_next": "Next",
Expand All @@ -202,8 +202,8 @@
"set_up_button_done": "Done",
"set_up_button_cancel": "Cancel",
"set_up_button_get_started": "Get Started",
"set_up_consent_data_collection": "Welcome to Maskbook",
"set_up_consent_data_collection_hint": "Maskbook will collect some data when you use it, but the developers of Maskbook have no access to them. The collected data are stored locally, except for the data which are necessary for enabling your friends to decrypt the posts you shared.",
"set_up_consent_data_collection": "Welcome to Mask",
"set_up_consent_data_collection_hint": "Mask will collect some data when you use it, but the developers of Mask have no access to them. The collected data are stored locally, except for the data which are necessary for enabling your friends to decrypt the posts you shared.",
"set_up_consent_data_collection_privacy_policy_1": "I agree with the ",
"set_up_consent_data_collection_privacy_policy_2": "privacy policy",
"set_up_consent_data_collection_privacy_policy_3": ".",
Expand Down Expand Up @@ -236,7 +236,7 @@
"settings_language_secondary": "Select the language you would like to use.",
"settings_choose_eth_network": "Choose Ethereum Network",
"settings_post_replacement": "Substitute Post",
"settings_post_replacement_desc": "All posts on the webpages will be rendered by Maskbook, including those not created by Maskbook.",
"settings_post_replacement_desc": "All posts on the webpages will be rendered by Mask, including those not created by Mask.",
"settings_title_general": "General",
"settings_title_advanced_options": "Advanced",
"settings_title_database_management": "Database Management",
Expand Down Expand Up @@ -264,7 +264,7 @@
"wallet_value": "Value",
"wallet_confirmation_hint": "I confirm that I need to create a wallet.",
"wallet_new": "New Wallet",
"wallet_notification": "This will create a new wallet other than the default wallet. You are responsible for keeping the private key to the wallet safe. Please also note that Maskbook won't be able to pay for your transactions on Ethereum.",
"wallet_notification": "This will create a new wallet other than the default wallet. You are responsible for keeping the private key to the wallet safe. Please also note that Mask won't be able to pay for your transactions on Ethereum.",
"wallets": "Wallets",
"untitled_wallet": "Untitled Wallet",
"your_message": "Your message…",
Expand Down Expand Up @@ -293,7 +293,7 @@
"plugin_wallet_wrong_network": "Wrong Network",
"plugin_wallet_metamask_unlock": "Unlock MetaMask",
"plugin_wallet_connect_dialog_title": "WalletConnect",
"plugin_wallet_connect_to_maskbook": "Create wallet with Maskbook",
"plugin_wallet_connect_to_mask": "Create wallet with Mask",
"plugin_wallet_connect_to_metamask": "Connect to your MetaMask Wallet",
"plugin_wallet_connect_to_walletconnect_on_web": "Scan with WalletConnect to connect",
"plugin_wallet_connect_to_walletconnect_on_app": "Connect by WalletConnect",
Expand Down
Loading

0 comments on commit 253db31

Please sign in to comment.