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

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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