🎨 Internationalization supports Italian language (#12562)
* Italian Language * First commit reference [6e0da992af
] * Secondo commit reference [f50c0d606d
] * Third commit reference [b6af01ecd3
] * Fourth commit reference [74d3302b09
] * Fifth commit reference [856f6af722
] * Six commit reference [5d97e4f2f8
]
This commit is contained in:
parent
5ad9de9541
commit
f8abfd270e
5 changed files with 1559 additions and 2 deletions
1554
app/appearance/langs/it_IT.json
Normal file
1554
app/appearance/langs/it_IT.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -211,6 +211,7 @@
|
|||
<option value="zh_CN">简体中文</option>
|
||||
<option value="zh_CHT">繁體中文</option>
|
||||
<option value="ja_JP">日本語</option>
|
||||
<option value="it_IT">Italiano</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="b3-label">
|
||||
|
@ -255,6 +256,7 @@
|
|||
<option value="zh_CN">简体中文</option>
|
||||
<option value="zh_CHT">繁體中文</option>
|
||||
<option value="ja_JP">日本語</option>
|
||||
<option value="it_IT">Italiano</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="b3-label">
|
||||
|
|
|
@ -194,6 +194,7 @@ export abstract class Constants {
|
|||
fr_FR: "20210808180117-6v0mkxr",
|
||||
es_ES: "20210808180117-6v0mkxr",
|
||||
ja_JP: "20240530133126-axarxgx",
|
||||
it_IT: "20210808180117-6v0mkxr",
|
||||
};
|
||||
public static readonly QUICK_DECK_ID = "20230218211946-2kw8jgx";
|
||||
|
||||
|
|
2
app/src/types/config.d.ts
vendored
2
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";
|
||||
export type TLang = "en_US" | "es_ES" | "fr_FR" | "zh_CHT" | "zh_CN" | "ja_JP" | "it_IT";
|
||||
|
||||
/**
|
||||
* SiYuan bazaar related configuration
|
||||
|
|
|
@ -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")
|
||||
lang := flag.String("lang", "", "zh_CN/zh_CHT/en_US/fr_FR/es_ES/ja_JP/it_IT")
|
||||
mode := flag.String("mode", "prod", "dev/prod")
|
||||
flag.Parse()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue