add et language

This commit is contained in:
Kyle Spearrin 2018-08-21 16:01:47 -04:00
parent 91766ecea3
commit 221397b159
2 changed files with 3 additions and 1 deletions

View File

@ -140,6 +140,7 @@ import localeCs from '@angular/common/locales/cs';
import localeDa from '@angular/common/locales/da'; import localeDa from '@angular/common/locales/da';
import localeDe from '@angular/common/locales/de'; import localeDe from '@angular/common/locales/de';
import localeEs from '@angular/common/locales/es'; import localeEs from '@angular/common/locales/es';
import localeEt from '@angular/common/locales/et';
import localeFr from '@angular/common/locales/fr'; import localeFr from '@angular/common/locales/fr';
import localeIt from '@angular/common/locales/it'; import localeIt from '@angular/common/locales/it';
import localeNb from '@angular/common/locales/nb'; import localeNb from '@angular/common/locales/nb';
@ -155,6 +156,7 @@ registerLocaleData(localeCs, 'cs');
registerLocaleData(localeDa, 'da'); registerLocaleData(localeDa, 'da');
registerLocaleData(localeDe, 'de'); registerLocaleData(localeDe, 'de');
registerLocaleData(localeEs, 'es'); registerLocaleData(localeEs, 'es');
registerLocaleData(localeEt, 'et');
registerLocaleData(localeFr, 'fr'); registerLocaleData(localeFr, 'fr');
registerLocaleData(localeIt, 'it'); registerLocaleData(localeIt, 'it');
registerLocaleData(localeNb, 'nb'); registerLocaleData(localeNb, 'nb');

View File

@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
}); });
this.supportedTranslationLocales = [ 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',
]; ];
} }
} }