🎨 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:
Shadw 2024-09-23 16:27:08 +02:00 committed by GitHub
parent 5ad9de9541
commit f8abfd270e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1559 additions and 2 deletions

File diff suppressed because it is too large Load diff

View file

@ -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">

View file

@ -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";

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";
export type TLang = "en_US" | "es_ES" | "fr_FR" | "zh_CHT" | "zh_CN" | "ja_JP" | "it_IT";
/**
* SiYuan bazaar related configuration

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")
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()