1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-27 17:18:04 +01:00

add ca language

This commit is contained in:
Kyle Spearrin 2019-01-18 15:57:33 -05:00
parent 8261f3f9fb
commit 64ea5f38eb
3 changed files with 4 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit cbcf0adad5f313c1f37232311ddce318365911b3 Subproject commit fa65b5637b5cd2e93b5d886584d6876c2c5eb571

View File

@ -57,6 +57,7 @@ import { ViewComponent } from './vault/view.component';
import { registerLocaleData } from '@angular/common'; import { registerLocaleData } from '@angular/common';
import localeBg from '@angular/common/locales/bg'; import localeBg from '@angular/common/locales/bg';
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';
@ -89,6 +90,7 @@ 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(localeBg, 'bg'); registerLocaleData(localeBg, 'bg');
registerLocaleData(localeCa, 'ca');
registerLocaleData(localeCs, 'cs'); registerLocaleData(localeCs, 'cs');
registerLocaleData(localeDa, 'da'); registerLocaleData(localeDa, 'da');
registerLocaleData(localeDe, 'de'); registerLocaleData(localeDe, 'de');

View File

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