1
0
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:
Patrik J. Braun 2018-05-27 13:02:51 -04:00
parent 51b704ebf9
commit 99b14dc012

View File

@ -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]
}) })