aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-16 12:21:01 -0500
committerAdrien Hopkins <[email protected]>2022-08-16 12:21:01 -0500
commitecc16d2596bff7e4d5fcf6df722112a8f43345e8 (patch)
tree20b2f83da8c6cb82fefe0df53c4da0d8a9485b6a /doc
parent2f6d8b73e2188b617ab91aa99fbd9824053a7a77 (diff)
downloadcoinos-ui-ecc16d2596bff7e4d5fcf6df722112a8f43345e8.tar.gz
coinos-ui-ecc16d2596bff7e4d5fcf6df722112a8f43345e8.zip
Updated documentation to match secondl1ght's changes
Diffstat (limited to 'doc')
-rw-r--r--doc/i18n.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/i18n.md b/doc/i18n.md
index d6f2b4ff..21849cf0 100644
--- a/doc/i18n.md
+++ b/doc/i18n.md
@@ -46,7 +46,7 @@ Follow these steps to create a new translation. You will need a GitHub account t
2. Go to the `src` folder, then the `locales` folder, then create a file `xx.json` inside that folder using either a text editor (e.g. Notepad), or GitHub.
![Creating a new translation in GitHub](./img/create_locale_github.png)
3. Copy the text from `en.json` into this new file.
-4. Translate all of the pieces of text on the right. **Do not translate or alter in any way the pieces of text on the left!**
+4. Translate all of the pieces of text on the right. **Do not translate or alter in any way the pieces of text on the left, or any line that doesn't have two pieces of text!**
![Translating in GitHub](./img/translate_github.png)
5. Scroll down and use the green button to commit the file.
6. Go to the `src` folder again, then `lib`, then `i18n.js`.
@@ -64,6 +64,6 @@ Follow these steps to add to an existing translation. You will also need a GitHu
4. Find your translation's file, at `src/locales/xx.json`.
5. Use the pencil icon on the top-right to edit the file.
6. Add the whole line (both left and right parts) from step 3 to this file, in between the `{}` braces. Make sure the previous line has a comma at the end.
-7. Translate the piece of text on the right, keeping the quotes surrounding it. **Do not translate or alter in any way the piece of text on the left!**
+7. Translate the piece of text on the right, keeping the quotes surrounding it. **Do not translate or alter in any way the piece of text on the left, or any line that doesn't have two pieces of text!**
8. Repeat steps 3-7 for every piece of text you want to translate (you should probably open `en.json` in another tab, so that your changes from step 6 aren't erased).
9. Scroll down and use the green button to commit the file.