1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 02:43:04 +01:00

add polish language

This commit is contained in:
Kyle Spearrin 2018-08-06 17:42:59 -04:00
parent 4e58708f12
commit 6fb8a9ef2f
2 changed files with 3 additions and 1 deletions

View File

@ -142,6 +142,7 @@ import localeDe from '@angular/common/locales/de';
import localeEs from '@angular/common/locales/es'; import localeEs from '@angular/common/locales/es';
import localeFr from '@angular/common/locales/fr'; import localeFr from '@angular/common/locales/fr';
import localeNb from '@angular/common/locales/nb'; import localeNb from '@angular/common/locales/nb';
import localePl from '@angular/common/locales/pl';
import localePtBr from '@angular/common/locales/pt'; import localePtBr from '@angular/common/locales/pt';
import localePtPt from '@angular/common/locales/pt-PT'; import localePtPt from '@angular/common/locales/pt-PT';
import localeRu from '@angular/common/locales/ru'; import localeRu from '@angular/common/locales/ru';
@ -155,6 +156,7 @@ registerLocaleData(localeDe, 'de');
registerLocaleData(localeEs, 'es'); registerLocaleData(localeEs, 'es');
registerLocaleData(localeFr, 'fr'); registerLocaleData(localeFr, 'fr');
registerLocaleData(localeNb, 'nb'); registerLocaleData(localeNb, 'nb');
registerLocaleData(localePl, 'pl');
registerLocaleData(localePtBr, 'pt-BR'); registerLocaleData(localePtBr, 'pt-BR');
registerLocaleData(localePtPt, 'pt-PT'); registerLocaleData(localePtPt, 'pt-PT');
registerLocaleData(localeRu, 'ru'); registerLocaleData(localeRu, 'ru');

View File

@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
}); });
this.supportedTranslationLocales = [ this.supportedTranslationLocales = [
'en', 'cs', 'da', 'de', 'es', 'fr', 'nb', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'zh-CN', 'en', 'cs', 'da', 'de', 'es', 'fr', 'nb', 'pl', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'zh-CN',
]; ];
} }
} }