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

make supportedTranslationLocales public

This commit is contained in:
Kyle Spearrin 2018-04-25 08:26:02 -04:00
parent 119a9ba6bc
commit 0ad2c9d667
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
export abstract class I18nService {
locale: string;
supportedTranslationLocales: string[];
translationLocale: string;
collator: Intl.Collator;
t: (id: string, p1?: string, p2?: string, p3?: string) => string;

View File

@ -2,11 +2,11 @@ import { I18nService as I18nServiceAbstraction } from '../abstractions/i18n.serv
export class I18nService implements I18nServiceAbstraction {
locale: string;
// First locale is the default (English)
supportedTranslationLocales: string[] = ['en'];
translationLocale: string;
collator: Intl.Collator;
// First locale is the default (English)
protected supportedTranslationLocales: string[] = ['en'];
protected inited: boolean;
protected defaultMessages: any = {};
protected localeMessages: any = {};