Avoid angular translate security warning

This commit is contained in:
kuoruan 2017-01-04 12:07:07 +08:00
parent 7437b2d631
commit ad551f2969

View File

@ -41,6 +41,7 @@ webui.config(['$translateProvider', function ($translateProvider) {
.translations('ru_RU', mergeTranslation(translations.ru_RU, translations.en_US)) .translations('ru_RU', mergeTranslation(translations.ru_RU, translations.en_US))
.translations('it_IT', mergeTranslation(translations.it_IT, translations.en_US)) .translations('it_IT', mergeTranslation(translations.it_IT, translations.en_US))
.translations('tr_TR', mergeTranslation(translations.tr_TR, translations.en_US)) .translations('tr_TR', mergeTranslation(translations.tr_TR, translations.en_US))
.useSanitizeValueStrategy('escapeParameters')
.determinePreferredLanguage(); .determinePreferredLanguage();
}]); }]);