Merge pull request #1841 from tgreer-bw/language-adds

Missing languages from Crowdin
This commit is contained in:
Chad Scharf 2021-05-13 17:08:31 -04:00 committed by GitHub
commit 17718ea00a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -82,12 +82,14 @@ import {
} from '@angular/common'; } from '@angular/common';
import localeBe from '@angular/common/locales/be'; import localeBe from '@angular/common/locales/be';
import localeBg from '@angular/common/locales/bg'; import localeBg from '@angular/common/locales/bg';
import localeBn from '@angular/common/locales/bn';
import localeCa from '@angular/common/locales/ca'; import localeCa from '@angular/common/locales/ca';
import localeCs from '@angular/common/locales/cs'; 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 localeEl from '@angular/common/locales/el'; import localeEl from '@angular/common/locales/el';
import localeEnGb from '@angular/common/locales/en-GB'; import localeEnGb from '@angular/common/locales/en-GB';
import localeEnIn from '@angular/common/locales/en-IN';
import localeEs from '@angular/common/locales/es'; import localeEs from '@angular/common/locales/es';
import localeEt from '@angular/common/locales/et'; import localeEt from '@angular/common/locales/et';
import localeFa from '@angular/common/locales/fa'; import localeFa from '@angular/common/locales/fa';
@ -100,6 +102,8 @@ import localeId from '@angular/common/locales/id';
import localeIt from '@angular/common/locales/it'; import localeIt from '@angular/common/locales/it';
import localeJa from '@angular/common/locales/ja'; import localeJa from '@angular/common/locales/ja';
import localeKo from '@angular/common/locales/ko'; import localeKo from '@angular/common/locales/ko';
import localeLv from '@angular/common/locales/lv';
import localeMlIn from '@angular/common/locales/ml-IN';
import localeNb from '@angular/common/locales/nb'; import localeNb from '@angular/common/locales/nb';
import localeNl from '@angular/common/locales/nl'; import localeNl from '@angular/common/locales/nl';
import localePl from '@angular/common/locales/pl'; import localePl from '@angular/common/locales/pl';
@ -119,12 +123,14 @@ import localeZhTw from '@angular/common/locales/zh-Hant';
registerLocaleData(localeBe, 'be'); registerLocaleData(localeBe, 'be');
registerLocaleData(localeBg, 'bg'); registerLocaleData(localeBg, 'bg');
registerLocaleData(localeBn, 'bn');
registerLocaleData(localeCa, 'ca'); registerLocaleData(localeCa, 'ca');
registerLocaleData(localeCs, 'cs'); registerLocaleData(localeCs, 'cs');
registerLocaleData(localeDa, 'da'); registerLocaleData(localeDa, 'da');
registerLocaleData(localeDe, 'de'); registerLocaleData(localeDe, 'de');
registerLocaleData(localeEl, 'el'); registerLocaleData(localeEl, 'el');
registerLocaleData(localeEnGb, 'en-GB'); registerLocaleData(localeEnGb, 'en-GB');
registerLocaleData(localeEnIn, 'en-IN');
registerLocaleData(localeEs, 'es'); registerLocaleData(localeEs, 'es');
registerLocaleData(localeEt, 'et'); registerLocaleData(localeEt, 'et');
registerLocaleData(localeFa, 'fa'); registerLocaleData(localeFa, 'fa');
@ -137,6 +143,8 @@ registerLocaleData(localeId, 'id');
registerLocaleData(localeIt, 'it'); registerLocaleData(localeIt, 'it');
registerLocaleData(localeJa, 'ja'); registerLocaleData(localeJa, 'ja');
registerLocaleData(localeKo, 'ko'); registerLocaleData(localeKo, 'ko');
registerLocaleData(localeLv, 'lv');
registerLocaleData(localeMlIn, 'ml-IN');
registerLocaleData(localeNb, 'nb'); registerLocaleData(localeNb, 'nb');
registerLocaleData(localeNl, 'nl'); registerLocaleData(localeNl, 'nl');
registerLocaleData(localePl, 'pl'); registerLocaleData(localePl, 'pl');

View File

@ -9,8 +9,8 @@ export default class I18nService extends BaseI18nService {
}); });
this.supportedTranslationLocales = [ this.supportedTranslationLocales = [
'en', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'en', 'be', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-IN', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu',
'id', 'it', 'ja', 'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk', 'id', 'it', 'ja', 'ko', 'lv', 'ml-IN', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk',
'vi', 'zh-CN', 'zh-TW', 'vi', 'zh-CN', 'zh-TW',
]; ];
} }