From 0d591d8da264dd0056442a5033a1112013cba3e0 Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 2 Apr 2018 11:10:43 -0700 Subject: Update translating-guide.md --- docs/translating-guide.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/translating-guide.md b/docs/translating-guide.md index ae2dfecd3..8b2bc1785 100644 --- a/docs/translating-guide.md +++ b/docs/translating-guide.md @@ -6,9 +6,12 @@ The MetaMask browser extension supports new translations added in the form of ne ## Adding a new Language -Each supported language is represented by a folder in `app/_locales` whose name is that language's subtag ([look up a language subtag using this tool](https://r12a.github.io/app-subtags/)). +- Each supported language is represented by a folder in `app/_locales` whose name is that language's subtag (example: `app/_locales/es/`). (look up a language subtag using the [r12a "Find" tool](https://r12a.github.io/app-subtags/) or this [wikipedia list](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)). +- Inside that folder there should be a `messages.json`. +- An easy way to start your translation is to first **make a copy** of `app/_locales/en/messages.json` (the english translation), and then **translate the `message` key** for each in-app message. +- **The `description` key** is just to add context for what the translation is about, it **does not need to be translated**. +- Add the language to the [locales index](https://github.com/MetaMask/metamask-extension/blob/master/app/_locales/index.json) `app/_locales/index.json` -Inside that folder there should be a `messages.json` file that follows the specified format. An easy way to start your translation is to first duplicate `app/_locales/en/messages.json` (the english translation), and then update the `message` key for each in-app message. That's it! When MetaMask is loaded on a computer with that language set as the system language, they will see your translation instead of the default one. @@ -20,7 +23,7 @@ To automatically see if you are missing any phrases to translate, we have a scri node development/verify-locale-strings.js $YOUR_LOCALE ``` -Where `$YOUR_LOCALE` is your [locale string](https://r12a.github.io/app-subtags/), i.e. the name of your language folder. +Where `$YOUR_LOCALE` is your locale string (example: `es`), i.e. the name of your language folder. To verify that your translation works in the app, you will need to [build a local copy](https://github.com/MetaMask/metamask-extension#building-locally) of MetaMask. You will need to change your browser language, your operating system language, and restart your browser (sorry it's so much work!). -- cgit v1.2.3 From d0c7db618d582e2866f1dc2543db3d45c049d84f Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 5 Apr 2018 14:56:39 -0700 Subject: Commit Metamask QA Guide --- docs/QA_Guide.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/QA_Guide.md (limited to 'docs') diff --git a/docs/QA_Guide.md b/docs/QA_Guide.md new file mode 100644 index 000000000..31a75f2c0 --- /dev/null +++ b/docs/QA_Guide.md @@ -0,0 +1,44 @@ +# QA Guide + +Steps to mark a full pass of QA complete. +* Browsers: Opera, Chrome, Firefox, Edge. +* OS: Ubuntu, Mac OSX, Windows +* Open Developer Console in background and popup +* Vault integrity + * create vault + * Log out + * Log in again + * Log out + * Restore from seed + * Create a second account + * Import a loose account (not related to HD Wallet) + * Import old existing vault seed phrase (pref with test Ether) + * Download State Logs, Priv key file, seed phrase file. +* Open Developer Console in background and popup +* Send Ether + * by address + * by ens name +* Web3 API Stability + * Create a contract from a Ðapp (remix) + * Load a Ðapp that reads using events/logs (ENS) + * Connect to MEW/MyCypto + * Send a transaction from any Ðapp + - MEW + - EtherDelta + - Leeroy + - Aragon + - (https://tmashuang.github.io/demo-dapp) + * Check account balances +* Token Management + * create a token with tokenfactory (http://tokenfactory.surge.sh/#/factory) + * Add that token to the token view + * Send that token to another metamask address. + * confirm the token arrived. +* Send a transaction and sign a message (https://danfinlay.github.io/js-eth-personal-sign-examples/) for each keyring type + * hd keyring + * imported keyring +* Change network from mainnet → ropesten → rinkeby → localhost +* Copy public key to clipboard +* Export private key + +* Explore changes in master, target features that have been changed and break. -- cgit v1.2.3 From 3d9af2770f063842e1ec2a92108adfb100ff3750 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 5 Apr 2018 15:04:17 -0700 Subject: Update --- docs/QA_Guide.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/QA_Guide.md b/docs/QA_Guide.md index 31a75f2c0..b7ef73119 100644 --- a/docs/QA_Guide.md +++ b/docs/QA_Guide.md @@ -3,7 +3,8 @@ Steps to mark a full pass of QA complete. * Browsers: Opera, Chrome, Firefox, Edge. * OS: Ubuntu, Mac OSX, Windows -* Open Developer Console in background and popup +* Load older version of MetaMask and attempt to simulate updating the extension. +* Open Developer Console in background and popup, inspect errors. * Vault integrity * create vault * Log out @@ -37,7 +38,8 @@ Steps to mark a full pass of QA complete. * Send a transaction and sign a message (https://danfinlay.github.io/js-eth-personal-sign-examples/) for each keyring type * hd keyring * imported keyring -* Change network from mainnet → ropesten → rinkeby → localhost +* Change network from mainnet → ropsten → rinkeby → localhost (ganache) +* Ganache set blocktime to simulate retryTx in MetaMask * Copy public key to clipboard * Export private key -- cgit v1.2.3 From 4e3d38b9c21a48e643da66c72adf5e4e6d2167d2 Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Thu, 5 Apr 2018 15:12:19 -0700 Subject: Update QA_Guide.md --- docs/QA_Guide.md | 1 - 1 file changed, 1 deletion(-) (limited to 'docs') diff --git a/docs/QA_Guide.md b/docs/QA_Guide.md index b7ef73119..5a6ac338c 100644 --- a/docs/QA_Guide.md +++ b/docs/QA_Guide.md @@ -15,7 +15,6 @@ Steps to mark a full pass of QA complete. * Import a loose account (not related to HD Wallet) * Import old existing vault seed phrase (pref with test Ether) * Download State Logs, Priv key file, seed phrase file. -* Open Developer Console in background and popup * Send Ether * by address * by ens name -- cgit v1.2.3 From 8ddaafd10b000b1d572ad9ef8d3af34f7fb6ae91 Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Thu, 5 Apr 2018 16:15:55 -0700 Subject: Update QA_Guide.md --- docs/QA_Guide.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/QA_Guide.md b/docs/QA_Guide.md index 5a6ac338c..0b7c0e023 100644 --- a/docs/QA_Guide.md +++ b/docs/QA_Guide.md @@ -5,6 +5,9 @@ Steps to mark a full pass of QA complete. * OS: Ubuntu, Mac OSX, Windows * Load older version of MetaMask and attempt to simulate updating the extension. * Open Developer Console in background and popup, inspect errors. +* Watch the state logs + * Transactions (unapproved txs -> rejected/submitted -> confirmed) + * Nonces/LocalNonces * Vault integrity * create vault * Log out -- cgit v1.2.3