make supportedTranslationLocales public
This commit is contained in:
parent
119a9ba6bc
commit
0ad2c9d667
|
@ -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;
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in New Issue