Client - init Polish (pl) translation files
This commit is contained in:
@ -100,6 +100,7 @@ export const dateStringFormats: Record<string, string> = {
|
||||
fr: 'd MMM yyyy',
|
||||
gl: 'd MMM yyyy',
|
||||
it: 'd MMM yyyy',
|
||||
// pl: 'd MMM yyyy', // disabled for now
|
||||
nb: 'do MMM yyyy',
|
||||
nl: 'd MMM yyyy',
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ export const localeFromLanguage: Record<string, Locale> = {
|
||||
fr: fr,
|
||||
gl: gl,
|
||||
it: it,
|
||||
// pl: pl,
|
||||
nb: nb,
|
||||
nl: nl,
|
||||
}
|
||||
@ -22,6 +23,7 @@ export const languageLabels: Record<string, string> = {
|
||||
fr: 'Français',
|
||||
gl: 'Galego',
|
||||
it: 'Italiano',
|
||||
// pl: 'Polski',
|
||||
nb: 'Norsk bokmål',
|
||||
nl: 'Nederlands',
|
||||
}
|
||||
|
@ -23,6 +23,11 @@ export const loadLanguagePackage = async (language: string) => {
|
||||
return await import(
|
||||
/* webpackChunkName: "password.es" */ '@zxcvbn-ts/language-es-es'
|
||||
)
|
||||
// TODO: add package
|
||||
// case 'pl':
|
||||
// return await import(
|
||||
// /* webpackChunkName: "password.pl" */ '@zxcvbn-ts/language-pl'
|
||||
// )
|
||||
default:
|
||||
return await import(
|
||||
/* webpackChunkName: "password.en" */ '@zxcvbn-ts/language-en'
|
||||
|
Reference in New Issue
Block a user