From 017491b6521970d6b0a227bec6add35ab1745ca6 Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Sun, 1 Dec 2024 00:03:47 +0800 Subject: [PATCH] Squashed commit of the following: commit 1562a97de621efe514274962826bc2601f694441 Author: KOWX712 Date: Sun Dec 1 00:02:36 2024 +0800 update translation guide --- module/webroot/index.html | 10 +++++----- module/webroot/locales/A-translate.md | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/module/webroot/index.html b/module/webroot/index.html index f7ba79d..26de021 100644 --- a/module/webroot/index.html +++ b/module/webroot/index.html @@ -21,11 +21,11 @@
- - - - - + + + + +
diff --git a/module/webroot/locales/A-translate.md b/module/webroot/locales/A-translate.md index 9bf4639..ab68a2e 100644 --- a/module/webroot/locales/A-translate.md +++ b/module/webroot/locales/A-translate.md @@ -18,14 +18,15 @@ 5. Add `langauge-option` into `/module/webroot/index.html`. Format: ```xml - + ``` Example: ```xml
- +
``` + 6. Add language_code-COUNTRY_CODE in `/module/webroot/index.js` under `function detectUserLanguage()` Format: ```js @@ -33,4 +34,5 @@ function detectUserLanguage() { const availableLanguages = ['en-US', 'ru-RU', 'tl-PH', 'zh-CN', 'zh-TW']; } ``` + 7. Create a Pull Request \ No newline at end of file