web: add additional locales
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
057c5c5e9a
commit
c0601baca6
|
@ -22,7 +22,10 @@
|
||||||
"fr_FR",
|
"fr_FR",
|
||||||
"tr",
|
"tr",
|
||||||
"es",
|
"es",
|
||||||
"pl"
|
"pl",
|
||||||
|
"zh_TW",
|
||||||
|
"zh-Hans",
|
||||||
|
"zh-Hant"
|
||||||
],
|
],
|
||||||
"formatOptions": {
|
"formatOptions": {
|
||||||
"lineNumbers": false
|
"lineNumbers": false
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { en, es, fr, pl, tr } from "make-plural/plurals";
|
import { en, es, fr, pl, tr, zh } from "make-plural/plurals";
|
||||||
|
|
||||||
import { Messages, i18n } from "@lingui/core";
|
import { Messages, i18n } from "@lingui/core";
|
||||||
import { detect, fromNavigator, fromStorage, fromUrl } from "@lingui/detect-locale";
|
import { detect, fromNavigator, fromStorage, fromUrl } from "@lingui/detect-locale";
|
||||||
|
@ -10,6 +10,9 @@ import { messages as localeFR_FR } from "../locales/fr_FR";
|
||||||
import { messages as localePL } from "../locales/pl";
|
import { messages as localePL } from "../locales/pl";
|
||||||
import { messages as localeDEBUG } from "../locales/pseudo-LOCALE";
|
import { messages as localeDEBUG } from "../locales/pseudo-LOCALE";
|
||||||
import { messages as localeTR } from "../locales/tr";
|
import { messages as localeTR } from "../locales/tr";
|
||||||
|
import { messages as localeZH_Hans } from "../locales/zh-Hans";
|
||||||
|
import { messages as localeZH_Hant } from "../locales/zh-Hant";
|
||||||
|
import { messages as localeZH_TW } from "../locales/zh_TW";
|
||||||
|
|
||||||
export const LOCALES: {
|
export const LOCALES: {
|
||||||
code: string;
|
code: string;
|
||||||
|
@ -54,6 +57,24 @@ export const LOCALES: {
|
||||||
label: t`Polish`,
|
label: t`Polish`,
|
||||||
locale: localePL,
|
locale: localePL,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: "zh_TW",
|
||||||
|
plurals: zh,
|
||||||
|
label: t`Taiwanese Mandarin`,
|
||||||
|
locale: localeZH_TW,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "zh-Hans",
|
||||||
|
plurals: zh,
|
||||||
|
label: t`Chinese (simplified)`,
|
||||||
|
locale: localeZH_Hans,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "zh-Hant",
|
||||||
|
plurals: zh,
|
||||||
|
label: t`Chinese (traditional)`,
|
||||||
|
locale: localeZH_Hant,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
LOCALES.forEach((locale) => {
|
LOCALES.forEach((locale) => {
|
||||||
|
|
|
@ -844,6 +844,14 @@ msgstr "Checks if the request's user's password has been changed in the last x d
|
||||||
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
msgstr "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgstr "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (simplified)"
|
||||||
|
msgstr "Chinese (simplified)"
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (traditional)"
|
||||||
|
msgstr "Chinese (traditional)"
|
||||||
|
|
||||||
#: src/pages/flows/FlowListPage.ts
|
#: src/pages/flows/FlowListPage.ts
|
||||||
msgid "Clear Flow cache"
|
msgid "Clear Flow cache"
|
||||||
msgstr "Clear Flow cache"
|
msgstr "Clear Flow cache"
|
||||||
|
@ -5014,6 +5022,10 @@ msgstr "TOTP Device"
|
||||||
msgid "TOTP authenticator"
|
msgid "TOTP authenticator"
|
||||||
msgstr "TOTP authenticator"
|
msgstr "TOTP authenticator"
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Taiwanese Mandarin"
|
||||||
|
msgstr "Taiwanese Mandarin"
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Target"
|
msgid "Target"
|
||||||
msgstr "Target"
|
msgstr "Target"
|
||||||
|
|
|
@ -838,6 +838,14 @@ msgstr "Comprueba si la contraseña del usuario de la solicitud se ha cambiado e
|
||||||
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
msgstr "Comprueba el valor de la solicitud de política en relación con varias reglas, que se utilizan principalmente para garantizar la seguridad de la contraseña."
|
msgstr "Comprueba el valor de la solicitud de política en relación con varias reglas, que se utilizan principalmente para garantizar la seguridad de la contraseña."
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (simplified)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (traditional)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/FlowListPage.ts
|
#: src/pages/flows/FlowListPage.ts
|
||||||
msgid "Clear Flow cache"
|
msgid "Clear Flow cache"
|
||||||
msgstr "Borrar caché de flujo"
|
msgstr "Borrar caché de flujo"
|
||||||
|
@ -4905,6 +4913,10 @@ msgstr "Dispositivo TOTP"
|
||||||
msgid "TOTP authenticator"
|
msgid "TOTP authenticator"
|
||||||
msgstr "Autenticador TOTP"
|
msgstr "Autenticador TOTP"
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Taiwanese Mandarin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Target"
|
msgid "Target"
|
||||||
msgstr "Objetivo"
|
msgstr "Objetivo"
|
||||||
|
|
|
@ -846,6 +846,14 @@ msgstr "Vérifie si le mot de passe de l'usager a été changé dans les X derni
|
||||||
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
msgstr "Vérifie la valeur de la requête via plusieurs règles, principalement utilisé pour s'assurer de la robustesse des mots de passe."
|
msgstr "Vérifie la valeur de la requête via plusieurs règles, principalement utilisé pour s'assurer de la robustesse des mots de passe."
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (simplified)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (traditional)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/FlowListPage.ts
|
#: src/pages/flows/FlowListPage.ts
|
||||||
msgid "Clear Flow cache"
|
msgid "Clear Flow cache"
|
||||||
msgstr "Vider le cache des flux"
|
msgstr "Vider le cache des flux"
|
||||||
|
@ -4969,6 +4977,10 @@ msgstr ""
|
||||||
msgid "TOTP authenticator"
|
msgid "TOTP authenticator"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Taiwanese Mandarin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Target"
|
msgid "Target"
|
||||||
msgstr "Cible"
|
msgstr "Cible"
|
||||||
|
|
|
@ -838,6 +838,14 @@ msgstr "Sprawdza, czy żądanego użytkownika hasło zostało zmienione w ciągu
|
||||||
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
msgstr "Sprawdza wartość z żądania zasad pod kątem kilku reguł, używanych głównie w celu zapewnienia siły hasła."
|
msgstr "Sprawdza wartość z żądania zasad pod kątem kilku reguł, używanych głównie w celu zapewnienia siły hasła."
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (simplified)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (traditional)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/FlowListPage.ts
|
#: src/pages/flows/FlowListPage.ts
|
||||||
msgid "Clear Flow cache"
|
msgid "Clear Flow cache"
|
||||||
msgstr "Wyczyść pamięć podręczną przepływu"
|
msgstr "Wyczyść pamięć podręczną przepływu"
|
||||||
|
@ -4905,6 +4913,10 @@ msgstr "Urządzenie TOTP"
|
||||||
msgid "TOTP authenticator"
|
msgid "TOTP authenticator"
|
||||||
msgstr "Uwierzytelniacz TOTP"
|
msgstr "Uwierzytelniacz TOTP"
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Taiwanese Mandarin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Target"
|
msgid "Target"
|
||||||
msgstr "Cel"
|
msgstr "Cel"
|
||||||
|
|
|
@ -838,6 +838,14 @@ msgstr ""
|
||||||
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (simplified)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (traditional)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/FlowListPage.ts
|
#: src/pages/flows/FlowListPage.ts
|
||||||
msgid "Clear Flow cache"
|
msgid "Clear Flow cache"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5004,6 +5012,10 @@ msgstr ""
|
||||||
msgid "TOTP authenticator"
|
msgid "TOTP authenticator"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Taiwanese Mandarin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Target"
|
msgid "Target"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -838,6 +838,14 @@ msgstr "İsteğin kullanıcı parolasının son x gün içinde değiştirilip de
|
||||||
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
msgid "Checks the value from the policy request against several rules, mostly used to ensure password strength."
|
||||||
msgstr "İlke isteğindeki değeri, çoğunlukla parola gücünü sağlamak için kullanılan çeşitli kurallara göre denetler."
|
msgstr "İlke isteğindeki değeri, çoğunlukla parola gücünü sağlamak için kullanılan çeşitli kurallara göre denetler."
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (simplified)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Chinese (traditional)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/FlowListPage.ts
|
#: src/pages/flows/FlowListPage.ts
|
||||||
msgid "Clear Flow cache"
|
msgid "Clear Flow cache"
|
||||||
msgstr "Akış önbelleğini temizleme"
|
msgstr "Akış önbelleğini temizleme"
|
||||||
|
@ -4907,6 +4915,10 @@ msgstr "TOTP Cihazı"
|
||||||
msgid "TOTP authenticator"
|
msgid "TOTP authenticator"
|
||||||
msgstr "TOTP kimlik doğrulayıcı"
|
msgstr "TOTP kimlik doğrulayıcı"
|
||||||
|
|
||||||
|
#: src/interfaces/locale.ts
|
||||||
|
msgid "Taiwanese Mandarin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/flows/StageBindingForm.ts
|
#: src/pages/flows/StageBindingForm.ts
|
||||||
msgid "Target"
|
msgid "Target"
|
||||||
msgstr "Hedef"
|
msgstr "Hedef"
|
||||||
|
|
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
Reference in New Issue