diff --git a/jslib b/jslib index cbcf0adad5..fa65b5637b 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit cbcf0adad5f313c1f37232311ddce318365911b3 +Subproject commit fa65b5637b5cd2e93b5d886584d6876c2c5eb571 diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 5f58ff33ab..dd7421cab9 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -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'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index ab75644d71..8e74b36086 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -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', ]; }