🌐 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:
parent
f6f07d6cf2
commit
f965d6b91b
8 changed files with 6247 additions and 3 deletions
1558
app/appearance/langs/de_DE.json
Normal file
1558
app/appearance/langs/de_DE.json
Normal file
File diff suppressed because it is too large
Load diff
1558
app/appearance/langs/he_IL.json
Normal file
1558
app/appearance/langs/he_IL.json
Normal file
File diff suppressed because it is too large
Load diff
1558
app/appearance/langs/pl_PL.json
Normal file
1558
app/appearance/langs/pl_PL.json
Normal file
File diff suppressed because it is too large
Load diff
1558
app/appearance/langs/ru_RU.json
Normal file
1558
app/appearance/langs/ru_RU.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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">
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
4
app/src/types/config.d.ts
vendored
4
app/src/types/config.d.ts
vendored
|
@ -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";
|
||||
|
||||
}
|
||||
}
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue