From 221397b159e482e209b5dcd5b1052b6ed0f39a54 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 21 Aug 2018 16:01:47 -0400 Subject: [PATCH] add et 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 1c38bb5430..891030013e 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -140,6 +140,7 @@ import localeCs from '@angular/common/locales/cs'; import localeDa from '@angular/common/locales/da'; import localeDe from '@angular/common/locales/de'; import localeEs from '@angular/common/locales/es'; +import localeEt from '@angular/common/locales/et'; import localeFr from '@angular/common/locales/fr'; import localeIt from '@angular/common/locales/it'; import localeNb from '@angular/common/locales/nb'; @@ -155,6 +156,7 @@ registerLocaleData(localeCs, 'cs'); registerLocaleData(localeDa, 'da'); registerLocaleData(localeDe, 'de'); registerLocaleData(localeEs, 'es'); +registerLocaleData(localeEt, 'et'); registerLocaleData(localeFr, 'fr'); registerLocaleData(localeIt, 'it'); registerLocaleData(localeNb, 'nb'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index 3849f8c821..34d73fa5aa 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', 'it', 'nb', 'pl', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'zh-CN', + 'en', 'cs', 'da', 'de', 'es', 'et', 'fr', 'it', 'nb', 'pl', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'zh-CN', ]; } }