i18n: add Arabic support
This commit is contained in:
parent
6db1f38b75
commit
8b52fb979e
5 changed files with 658 additions and 653 deletions
File diff suppressed because it is too large
Load diff
|
@ -216,6 +216,7 @@
|
|||
<option value="he_IL">עברית</option>
|
||||
<option value="ru_RU">Русский</option>
|
||||
<option value="pl_PL">Polski</option>
|
||||
<option value="ar_SA">العربية</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="b3-label">
|
||||
|
@ -265,6 +266,7 @@
|
|||
<option value="he_IL">עברית</option>
|
||||
<option value="ru_RU">Русский</option>
|
||||
<option value="pl_PL">Polski</option>
|
||||
<option value="ar_SA">العربية</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="b3-label">
|
||||
|
|
|
@ -204,6 +204,7 @@ export abstract class Constants {
|
|||
he_IL: "20210808180117-6v0mkxr",
|
||||
ru_RU: "20210808180117-6v0mkxr",
|
||||
pl_PL: "20210808180117-6v0mkxr",
|
||||
ar_SA: "20210808180117-6v0mkxr"
|
||||
};
|
||||
public static readonly QUICK_DECK_ID = "20230218211946-2kw8jgx";
|
||||
|
||||
|
|
3
app/src/types/config.d.ts
vendored
3
app/src/types/config.d.ts
vendored
|
@ -279,7 +279,8 @@ declare namespace Config {
|
|||
| "de_DE"
|
||||
| "he_IL"
|
||||
| "ru_RU"
|
||||
| "pl_PL";
|
||||
| "pl_PL"
|
||||
| "ar_SA";
|
||||
|
||||
/**
|
||||
* 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/it_IT/de_DE/he_IL/ru_RU/pl_PL")
|
||||
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/ar_SA")
|
||||
mode := flag.String("mode", "prod", "dev/prod")
|
||||
flag.Parse()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue