fix an issue that might get twice language files

This commit is contained in:
MaysWind 2018-08-12 21:01:23 +08:00
parent 12d4149104
commit d168b0f9ae

View file

@ -35,7 +35,6 @@
$translateProvider.useLoader('ariaNgLanguageLoader') $translateProvider.useLoader('ariaNgLanguageLoader')
.useLoaderCache(true) .useLoaderCache(true)
.registerAvailableLanguageKeys(supportedLangs, languageAliases) .registerAvailableLanguageKeys(supportedLangs, languageAliases)
.determinePreferredLanguage()
.fallbackLanguage(ariaNgConstants.defaultLanguage) .fallbackLanguage(ariaNgConstants.defaultLanguage)
.useSanitizeValueStrategy('escapeParameters'); .useSanitizeValueStrategy('escapeParameters');