🌐 Internationalization translations into Hebrew, German, Polish and Russian (#12683)

* Add files via upload

Hebrew, German and Russian translations.

* Update de_DE.json

* Update he_IL.json

* Update ru_RU.json

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update init.html

* Update init.html

fix formatting

* Update config.d.ts

fix formatting

* Update constants.ts

* Update constants.ts

* Update init.html

* Add files via upload

added Polish

* Add files via upload

Add Polish language

* Add files via upload

Add Polish language

* Add files via upload

Add Polish language

* Add files via upload

Add Polish language

* Update init.html

* Update app/appearance/langs/de_DE.json

Co-authored-by: Alexander Pape <300609+Macavity@users.noreply.github.com>

* Update init.html

Fixed spaces.

* Update init.html

Fixed spacing

---------

Co-authored-by: Alexander Pape <300609+Macavity@users.noreply.github.com>
This commit is contained in:
Jim Apothy 2024-10-07 05:20:35 +01:00 committed by GitHub
parent f6f07d6cf2
commit f965d6b91b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 6247 additions and 3 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -212,6 +212,10 @@
<option value="zh_CHT">繁體中文</option>
<option value="ja_JP">日本語</option>
<option value="it_IT">Italiano</option>
<option value="de_DE">Deutsch</option>
<option value="he_IL">עברית</option>
<option value="ru_RU">Русский</option>
<option value="pl_PL">Polski</option>
</select>
</label>
<label class="b3-label">
@ -257,6 +261,10 @@
<option value="zh_CHT">繁體中文</option>
<option value="ja_JP">日本語</option>
<option value="it_IT">Italiano</option>
<option value="de_DE">Deutsch</option>
<option value="he_IL">עברית</option>
<option value="ru_RU">Русский</option>
<option value="pl_PL">Polski</option>
</select>
</label>
<label class="b3-label">

View file

@ -195,6 +195,10 @@ export abstract class Constants {
es_ES: "20210808180117-6v0mkxr",
ja_JP: "20240530133126-axarxgx",
it_IT: "20210808180117-6v0mkxr",
de_DE: "20210808180117-6v0mkxr",
he_IL: "20210808180117-6v0mkxr",
ru_RU: "20210808180117-6v0mkxr",
pl_PL: "20210808180117-6v0mkxr",
};
public static readonly QUICK_DECK_ID = "20230218211946-2kw8jgx";

View file

@ -268,7 +268,7 @@ declare namespace Config {
* User interface language
* Same as {@link IAppearance.lang}
*/
export type TLang = "en_US" | "es_ES" | "fr_FR" | "zh_CHT" | "zh_CN" | "ja_JP" | "it_IT";
export type TLang = "en_US" | "es_ES" | "fr_FR" | "zh_CHT" | "zh_CN" | "ja_JP" | "it_IT" | "de_DE" | "he_IL" | "ru_RU" | "pl_PL";
/**
* SiYuan bazaar related configuration
@ -2284,4 +2284,4 @@ declare namespace Config {
*/
export type TUILayoutType = "normal" | "center" | "top" | "bottom" | "left" | "right";
}
}

View file

@ -80,7 +80,7 @@ func Boot() {
readOnly := flag.String("readonly", "false", "read-only mode")
accessAuthCode := flag.String("accessAuthCode", "", "access auth code")
ssl := flag.Bool("ssl", false, "for https and wss")
lang := flag.String("lang", "", "zh_CN/zh_CHT/en_US/fr_FR/es_ES/ja_JP/it_IT")
lang := flag.String("lang", "", "zh_CN/zh_CHT/en_US/fr_FR/es_ES/ja_JP/it_IT/de_DE/he_IL/ru_RU/pl_PL")
mode := flag.String("mode", "prod", "dev/prod")
flag.Parse()