mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
Added additional languages (#975)
This commit is contained in:
parent
d9322c1307
commit
9abdefa947
@ -193,14 +193,21 @@ import {
|
|||||||
} from '@angular/common';
|
} from '@angular/common';
|
||||||
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 localeBg from '@angular/common/locales/bg';
|
||||||
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 localeEo from '@angular/common/locales/eo';
|
||||||
|
import localeFi from '@angular/common/locales/fi';
|
||||||
import localeFr from '@angular/common/locales/fr';
|
import localeFr from '@angular/common/locales/fr';
|
||||||
import localeHe from '@angular/common/locales/he';
|
import localeHe from '@angular/common/locales/he';
|
||||||
|
import localeHr from '@angular/common/locales/hr';
|
||||||
|
import localeHu from '@angular/common/locales/hu';
|
||||||
|
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';
|
||||||
@ -211,23 +218,33 @@ import localeNl from '@angular/common/locales/nl';
|
|||||||
import localePl from '@angular/common/locales/pl';
|
import localePl from '@angular/common/locales/pl';
|
||||||
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 localeRo from '@angular/common/locales/ro';
|
||||||
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 localeSr from '@angular/common/locales/sr';
|
||||||
import localeSv from '@angular/common/locales/sv';
|
import localeSv from '@angular/common/locales/sv';
|
||||||
|
import localeTr from '@angular/common/locales/tr';
|
||||||
import localeUk from '@angular/common/locales/uk';
|
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(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');
|
||||||
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(localeEo, 'eo');
|
||||||
|
registerLocaleData(localeFi, 'fi');
|
||||||
registerLocaleData(localeFr, 'fr');
|
registerLocaleData(localeFr, 'fr');
|
||||||
registerLocaleData(localeHe, 'he');
|
registerLocaleData(localeHe, 'he');
|
||||||
|
registerLocaleData(localeHr, 'hr');
|
||||||
|
registerLocaleData(localeHu, 'hu');
|
||||||
|
registerLocaleData(localeId, 'id');
|
||||||
registerLocaleData(localeIt, 'it');
|
registerLocaleData(localeIt, 'it');
|
||||||
registerLocaleData(localeJa, 'ja');
|
registerLocaleData(localeJa, 'ja');
|
||||||
registerLocaleData(localeKo, 'ko');
|
registerLocaleData(localeKo, 'ko');
|
||||||
@ -238,9 +255,12 @@ registerLocaleData(localeNl, 'nl');
|
|||||||
registerLocaleData(localePl, 'pl');
|
registerLocaleData(localePl, 'pl');
|
||||||
registerLocaleData(localePtBr, 'pt-BR');
|
registerLocaleData(localePtBr, 'pt-BR');
|
||||||
registerLocaleData(localePtPt, 'pt-PT');
|
registerLocaleData(localePtPt, 'pt-PT');
|
||||||
|
registerLocaleData(localeRo, 'ro');
|
||||||
registerLocaleData(localeRu, 'ru');
|
registerLocaleData(localeRu, 'ru');
|
||||||
registerLocaleData(localeSk, 'sk');
|
registerLocaleData(localeSk, 'sk');
|
||||||
|
registerLocaleData(localeSr, 'sr');
|
||||||
registerLocaleData(localeSv, 'sv');
|
registerLocaleData(localeSv, 'sv');
|
||||||
|
registerLocaleData(localeTr, 'tr');
|
||||||
registerLocaleData(localeUk, 'uk');
|
registerLocaleData(localeUk, 'uk');
|
||||||
registerLocaleData(localeZhCn, 'zh-CN');
|
registerLocaleData(localeZhCn, 'zh-CN');
|
||||||
registerLocaleData(localeZhTw, 'zh-TW');
|
registerLocaleData(localeZhTw, 'zh-TW');
|
||||||
|
@ -11,8 +11,8 @@ export class I18nService extends BaseI18nService {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.supportedTranslationLocales = [
|
this.supportedTranslationLocales = [
|
||||||
'en', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fr', 'he', 'it', 'ja', 'ko', 'lv', 'ml', 'nb',
|
'en', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'en-GB', 'en-IN', 'es', 'et', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lv', 'ml', 'nb',
|
||||||
'nl', 'pl', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', '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
Block a user