Skip to content

Commit 2e346db

Browse files
committed
language updates
1 parent 38e6266 commit 2e346db

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/popup/app.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ import {
7474
CurrencyPipe,
7575
registerLocaleData,
7676
} from '@angular/common';
77+
import localeBe from '@angular/common/locales/be';
7778
import localeBg from '@angular/common/locales/bg';
7879
import localeCa from '@angular/common/locales/ca';
7980
import localeCs from '@angular/common/locales/cs';
@@ -109,6 +110,7 @@ import localeVi from '@angular/common/locales/vi';
109110
import localeZhCn from '@angular/common/locales/zh-Hans';
110111
import localeZhTw from '@angular/common/locales/zh-Hant';
111112

113+
registerLocaleData(localeBe, 'be');
112114
registerLocaleData(localeBg, 'bg');
113115
registerLocaleData(localeCa, 'ca');
114116
registerLocaleData(localeCs, 'cs');

src/services/i18n.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default class I18nService extends BaseI18nService {
1717
});
1818

1919
this.supportedTranslationLocales = [
20-
'en', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'id',
21-
'it', 'ja', 'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi',
20+
'en', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu',
21+
'id', 'it', 'ja', 'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi',
2222
'zh-CN', 'zh-TW',
2323
];
2424
}

0 commit comments

Comments
 (0)