mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
add new languages
This commit is contained in:
parent
b76f1d3c8c
commit
d2d89c252a
@ -136,21 +136,31 @@ 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 { registerLocaleData } from '@angular/common';
|
import { registerLocaleData } from '@angular/common';
|
||||||
|
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 localeFr from '@angular/common/locales/fr';
|
import localeFr from '@angular/common/locales/fr';
|
||||||
|
import localeNb from '@angular/common/locales/nb';
|
||||||
import localePtBr from '@angular/common/locales/pt';
|
import localePtBr from '@angular/common/locales/pt';
|
||||||
import localePtPt from '@angular/common/locales/pt-PT';
|
import localePtPt from '@angular/common/locales/pt-PT';
|
||||||
import localeRu from '@angular/common/locales/ru';
|
import localeRu from '@angular/common/locales/ru';
|
||||||
import localeSk from '@angular/common/locales/sk';
|
import localeSk from '@angular/common/locales/sk';
|
||||||
|
import localeSv from '@angular/common/locales/sv';
|
||||||
|
import localeZhCn from '@angular/common/locales/zh-Hans';
|
||||||
|
|
||||||
|
registerLocaleData(localeCs, 'cs');
|
||||||
registerLocaleData(localeDa, 'da');
|
registerLocaleData(localeDa, 'da');
|
||||||
registerLocaleData(localeDe, 'de');
|
registerLocaleData(localeDe, 'de');
|
||||||
|
registerLocaleData(localeEs, 'es');
|
||||||
registerLocaleData(localeFr, 'fr');
|
registerLocaleData(localeFr, 'fr');
|
||||||
|
registerLocaleData(localeNb, 'nb');
|
||||||
registerLocaleData(localePtBr, 'pt-BR');
|
registerLocaleData(localePtBr, 'pt-BR');
|
||||||
registerLocaleData(localePtPt, 'pt-PT');
|
registerLocaleData(localePtPt, 'pt-PT');
|
||||||
registerLocaleData(localeRu, 'ru');
|
registerLocaleData(localeRu, 'ru');
|
||||||
registerLocaleData(localeSk, 'sk');
|
registerLocaleData(localeSk, 'sk');
|
||||||
|
registerLocaleData(localeSv, 'sv');
|
||||||
|
registerLocaleData(localeZhCn, 'zh-CN');
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.supportedTranslationLocales = [
|
this.supportedTranslationLocales = [
|
||||||
'en', 'da', 'de', 'fr', 'pt-PT', 'pt-BR', 'ru', 'sk',
|
'en', 'cs', 'da', 'de', 'es', 'fr', 'nb', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'zh-CN',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user