From 5cd58e6fa3752ee0026265eaa5045e1a88665919 Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Mon, 24 Oct 2022 23:36:21 +0200 Subject: [PATCH 1/2] Add info about `npm install` to translators Without this, you can have wrong indentation from ESLint --- src/languages/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/languages/README.md b/src/languages/README.md index eddd6102..2c0ba83a 100644 --- a/src/languages/README.md +++ b/src/languages/README.md @@ -1,7 +1,8 @@ # How to translate 1. Fork this repo. -2. Run `npm run update-language-files --language=` where `` +2. Run `npm install` +3. Run `npm run update-language-files --language=` where `` is a valid ISO language code: http://www.lingoes.net/en/translator/langcode.htm. You can also use this command to check if there are new strings to From e7e7751e7ba9aac34d8aa430180b290a07224ad9 Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Mon, 24 Oct 2022 23:38:38 +0200 Subject: [PATCH 2/2] Correct order --- src/languages/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/languages/README.md b/src/languages/README.md index 2c0ba83a..c217ea0f 100644 --- a/src/languages/README.md +++ b/src/languages/README.md @@ -7,8 +7,8 @@ http://www.lingoes.net/en/translator/langcode.htm. You can also use this command to check if there are new strings to translate for your language. -3. Your language file should be filled in. You can translate now. -4. Add it into `languageList` constant. -5. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done. +4. Your language file should be filled in. You can translate now. +5. Add it into `languageList` constant. +6. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done. If you do not have programming skills, let me know in [the issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏