1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

add ca language

This commit is contained in:
Kyle Spearrin 2019-01-18 15:59:04 -05:00
parent b2be44e372
commit 978a58391b
3 changed files with 4 additions and 2 deletions

2
jslib

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

View File

@ -160,6 +160,7 @@ import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe';
import { SearchPipe } from 'jslib/angular/pipes/search.pipe';
import { registerLocaleData } from '@angular/common';
import localeCa from '@angular/common/locales/ca';
import localeCs from '@angular/common/locales/cs';
import localeDa from '@angular/common/locales/da';
import localeDe from '@angular/common/locales/de';
@ -181,6 +182,7 @@ import localeUk from '@angular/common/locales/uk';
import localeZhCn from '@angular/common/locales/zh-Hans';
import localeZhTw from '@angular/common/locales/zh-Hant';
registerLocaleData(localeCa, 'ca');
registerLocaleData(localeCs, 'cs');
registerLocaleData(localeDa, 'da');
registerLocaleData(localeDe, 'de');

View File

@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
});
this.supportedTranslationLocales = [
'en', 'cs', 'da', 'de', 'en-GB', 'es', 'et', 'fr', 'it', 'ja', 'nb', 'nl', 'pl', 'pt-PT', 'pt-BR',
'en', 'ca', 'cs', 'da', 'de', 'en-GB', 'es', 'et', 'fr', 'it', 'ja', 'nb', 'nl', 'pl', 'pt-PT', 'pt-BR',
'ru', 'sk', 'sv', 'uk', 'zh-CN', 'zh-TW',
];
}