web: add pl locale

This commit is contained in:
Jens Langhammer 2022-01-31 11:50:05 +00:00
parent 56a8276dbf
commit acc4de2235
8 changed files with 750 additions and 1267 deletions

View File

@ -21,7 +21,8 @@
"pseudo-LOCALE",
"fr_FR",
"tr",
"es"
"es",
"pl"
],
"formatOptions": {
"lineNumbers": false

View File

@ -1,4 +1,4 @@
import { en, es, fr, tr } from "make-plural/plurals";
import { en, es, fr, pl, tr } from "make-plural/plurals";
import { Messages, i18n } from "@lingui/core";
import { detect, fromNavigator, fromStorage, fromUrl } from "@lingui/detect-locale";
@ -7,6 +7,7 @@ import { t } from "@lingui/macro";
import { messages as localeEN } from "../locales/en";
import { messages as localeES } from "../locales/es";
import { messages as localeFR_FR } from "../locales/fr_FR";
import { messages as localePL } from "../locales/pl";
import { messages as localeDEBUG } from "../locales/pseudo-LOCALE";
import { messages as localeTR } from "../locales/tr";
@ -47,6 +48,12 @@ export const LOCALES: {
label: t`Spanish`,
locale: localeES,
},
{
code: "pl",
plurals: pl,
label: t`Polish`,
locale: localePL,
},
];
LOCALES.forEach((locale) => {

View File

@ -3608,6 +3608,10 @@ msgstr "Policy {0}"
msgid "Policy-specific settings"
msgstr "Policy-specific settings"
#: src/interfaces/locale.ts
msgid "Polish"
msgstr "Polish"
#: src/pages/providers/saml/SAMLProviderForm.ts
msgid "Post"
msgstr "Post"

View File

@ -3544,6 +3544,10 @@ msgstr "Política {0}"
msgid "Policy-specific settings"
msgstr "Configuración específica de políticas"
#: src/interfaces/locale.ts
msgid "Polish"
msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts
msgid "Post"
msgstr "Publicar"

View File

@ -3580,6 +3580,10 @@ msgstr "Poliitique {0}"
msgid "Policy-specific settings"
msgstr "Paramètres spécifiques à la politique"
#: src/interfaces/locale.ts
msgid "Polish"
msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts
msgid "Post"
msgstr "Appliquer"

File diff suppressed because it is too large Load Diff

View File

@ -3598,6 +3598,10 @@ msgstr ""
msgid "Policy-specific settings"
msgstr ""
#: src/interfaces/locale.ts
msgid "Polish"
msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts
msgid "Post"
msgstr ""

View File

@ -3546,6 +3546,10 @@ msgstr "İlke {0}"
msgid "Policy-specific settings"
msgstr "İlke özel ayarlar"
#: src/interfaces/locale.ts
msgid "Polish"
msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts
msgid "Post"
msgstr "Post"