1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

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

Add missing languages from Crowdin
This commit is contained in:
Chad Scharf 2021-05-15 15:25:23 -04:00 committed by GitHub
commit 012aa71054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View File

@ -66,25 +66,31 @@ import { SendComponent } from './send/send.component';
import { NavComponent } from './layout/nav.component'; import { NavComponent } from './layout/nav.component';
import { registerLocaleData } from '@angular/common'; import { registerLocaleData } from '@angular/common';
import localeAf from '@angular/common/locales/af';
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 localEnGb from '@angular/common/locales/en-GB'; import localEnGb from '@angular/common/locales/en-GB';
import localEnIn 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';
import localeFi from '@angular/common/locales/fi'; 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 localeHr from '@angular/common/locales/hr'; import localeHr from '@angular/common/locales/hr';
import localeHu from '@angular/common/locales/hu'; import localeHu from '@angular/common/locales/hu';
import localeId from '@angular/common/locales/id'; 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 localeMe from '@angular/common/locales/me';
import localeMl from '@angular/common/locales/ml'; import localeMl from '@angular/common/locales/ml';
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';
@ -103,25 +109,31 @@ import localeVi from '@angular/common/locales/vi';
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(localeAf, 'af');
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(localEnGb, 'en-GB'); registerLocaleData(localEnGb, 'en-GB');
registerLocaleData(localEnIn, 'en-IN');
registerLocaleData(localeEs, 'es'); registerLocaleData(localeEs, 'es');
registerLocaleData(localeEt, 'et'); registerLocaleData(localeEt, 'et');
registerLocaleData(localeFa, 'fa'); registerLocaleData(localeFa, 'fa');
registerLocaleData(localeFi, 'fi'); registerLocaleData(localeFi, 'fi');
registerLocaleData(localeFr, 'fr'); registerLocaleData(localeFr, 'fr');
registerLocaleData(localeHe, 'he');
registerLocaleData(localeHr, 'hr'); registerLocaleData(localeHr, 'hr');
registerLocaleData(localeHu, 'hu'); registerLocaleData(localeHu, 'hu');
registerLocaleData(localeId, 'id'); 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(localeMe, 'me');
registerLocaleData(localeMl, 'ml'); registerLocaleData(localeMl, 'ml');
registerLocaleData(localeNb, 'nb'); registerLocaleData(localeNb, 'nb');
registerLocaleData(localeNl, 'nl'); registerLocaleData(localeNl, 'nl');

View File

@ -13,8 +13,8 @@ export class I18nService extends BaseI18nService {
}); });
this.supportedTranslationLocales = [ this.supportedTranslationLocales = [
'en', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id', 'en', 'af', 'be', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-IN', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'id',
'it', 'ja', 'ko', 'ml', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk', 'it', 'ja', 'ko', 'lv', 'me', 'ml', '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',
]; ];
} }