From 6fb8a9ef2fc2be14e7f555129805573fb57e05ac Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 6 Aug 2018 17:42:59 -0400 Subject: [PATCH] add polish language --- src/app/app.module.ts | 2 ++ src/services/i18n.service.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 542776e61b..5ae2bab760 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -142,6 +142,7 @@ import localeDe from '@angular/common/locales/de'; import localeEs from '@angular/common/locales/es'; import localeFr from '@angular/common/locales/fr'; import localeNb from '@angular/common/locales/nb'; +import localePl from '@angular/common/locales/pl'; import localePtBr from '@angular/common/locales/pt'; import localePtPt from '@angular/common/locales/pt-PT'; import localeRu from '@angular/common/locales/ru'; @@ -155,6 +156,7 @@ registerLocaleData(localeDe, 'de'); registerLocaleData(localeEs, 'es'); registerLocaleData(localeFr, 'fr'); registerLocaleData(localeNb, 'nb'); +registerLocaleData(localePl, 'pl'); registerLocaleData(localePtBr, 'pt-BR'); registerLocaleData(localePtPt, 'pt-PT'); registerLocaleData(localeRu, 'ru'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index fc1a15a81e..e714c82d21 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService { }); 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', ]; } }