add AZ language (#1079)
This commit is contained in:
parent
731e191011
commit
86e6c31820
|
@ -191,6 +191,7 @@ import { I18nPipe } from 'jslib-angular/pipes/i18n.pipe';
|
||||||
import { SearchCiphersPipe } from 'jslib-angular/pipes/search-ciphers.pipe';
|
import { SearchCiphersPipe } from 'jslib-angular/pipes/search-ciphers.pipe';
|
||||||
import { SearchPipe } from 'jslib-angular/pipes/search.pipe';
|
import { SearchPipe } from 'jslib-angular/pipes/search.pipe';
|
||||||
|
|
||||||
|
import localeAz from '@angular/common/locales/az';
|
||||||
import localeBg from '@angular/common/locales/bg';
|
import localeBg from '@angular/common/locales/bg';
|
||||||
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';
|
||||||
|
@ -229,9 +230,10 @@ import localeUk from '@angular/common/locales/uk';
|
||||||
import localeZhCn from '@angular/common/locales/zh-Hans';
|
import localeZhCn from '@angular/common/locales/zh-Hans';
|
||||||
import localeZhTw from '@angular/common/locales/zh-Hant';
|
import localeZhTw from '@angular/common/locales/zh-Hant';
|
||||||
|
|
||||||
|
registerLocaleData(localeAz, 'az');
|
||||||
|
registerLocaleData(localeBg, 'bg');
|
||||||
registerLocaleData(localeCa, 'ca');
|
registerLocaleData(localeCa, 'ca');
|
||||||
registerLocaleData(localeCs, 'cs');
|
registerLocaleData(localeCs, 'cs');
|
||||||
registerLocaleData(localeBg, 'bg');
|
|
||||||
registerLocaleData(localeDa, 'da');
|
registerLocaleData(localeDa, 'da');
|
||||||
registerLocaleData(localeDe, 'de');
|
registerLocaleData(localeDe, 'de');
|
||||||
registerLocaleData(localeEl, 'el');
|
registerLocaleData(localeEl, 'el');
|
||||||
|
|
|
@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.supportedTranslationLocales = [
|
this.supportedTranslationLocales = [
|
||||||
'en', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'en-GB', 'en-IN', 'es', 'et', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lv', 'ml', 'nb',
|
'az', 'en', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'en-GB', 'en-IN', 'es', 'et', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lv', 'ml', 'nb',
|
||||||
'nl', 'pl', 'pt-PT', 'pt-BR', 'ro', 'ru', 'sk', 'sr', 'sv', 'tr', 'uk', 'zh-CN', 'zh-TW',
|
'nl', 'pl', 'pt-PT', 'pt-BR', 'ro', 'ru', 'sk', 'sr', 'sv', 'tr', 'uk', 'zh-CN', 'zh-TW',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue