From ecc16d2596bff7e4d5fcf6df722112a8f43345e8 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Tue, 16 Aug 2022 12:21:01 -0500 Subject: Updated documentation to match secondl1ght's changes --- doc/i18n.md | 4 ++-- 1 file 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. -- cgit v1.2.3