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/popup/app.module.ts b/src/popup/app.module.ts index 618eb34352..b8b412701d 100644 --- a/src/popup/app.module.ts +++ b/src/popup/app.module.ts @@ -69,6 +69,7 @@ import { registerLocaleData, } from '@angular/common'; import localeBg from '@angular/common/locales/bg'; +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'; @@ -101,6 +102,7 @@ import localeZhCn from '@angular/common/locales/zh-Hans'; import localeZhTw from '@angular/common/locales/zh-Hant'; registerLocaleData(localeBg, 'bg'); +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 e795c6dc78..20fa89d05e 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -8,7 +8,7 @@ export default class I18nService extends BaseI18nService { }); 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', 'zh-CN', 'zh-TW', ];