mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
removing hardcoded languages
This commit is contained in:
parent
51b704ebf9
commit
99b14dc012
@ -181,12 +181,12 @@ export function translationsFactory(locale: string) {
|
|||||||
deps: [LOCALE_ID]
|
deps: [LOCALE_ID]
|
||||||
},
|
},
|
||||||
I18n,
|
I18n,
|
||||||
|
/*
|
||||||
{provide: TRANSLATIONS, useValue: translationsFactory('en')},
|
{provide: TRANSLATIONS, useValue: translationsFactory('en')},
|
||||||
{provide: TRANSLATIONS_FORMAT, useValue: 'xlf'},
|
{provide: TRANSLATIONS_FORMAT, useValue: 'xlf'},
|
||||||
{provide: LOCALE_ID, useValue: 'en'},
|
{provide: LOCALE_ID, useValue: 'en'},
|
||||||
{provide: MISSING_TRANSLATION_STRATEGY, useValue: MissingTranslationStrategy.Ignore},
|
{provide: MISSING_TRANSLATION_STRATEGY, useValue: MissingTranslationStrategy.Ignore},
|
||||||
|
*/
|
||||||
],
|
],
|
||||||
bootstrap: [AppComponent]
|
bootstrap: [AppComponent]
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user