Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Jan 25, 2024
1 parent 8f631ff commit debc4ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avUi/i18n-override-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ angular
{
$window.i18n.addResources(
/* lng = */ language,
/* ns = */ "translation",
/* ns = */ "locales",
/* resources = */ expandObject(i18nOverride)
);

Expand Down
3 changes: 1 addition & 2 deletions dist/appCommon-v10.1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1145,8 +1145,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist
$window.i18nOverride = overrides), languagesConf && ($i18next.options.lng = languagesConf.force_default_language ? languagesConf.default_language : $window.i18n.lng(),
$i18next.options.lngWhitelist = languagesConf.available_languages, $i18next.options.fallbackLng = [ languagesConf.default_language, "en" ]),
performOverrides && _.map($window.i18nOverride, function(i18nOverride, language) {
$window.i18n.addResources(language, "translation", expandObject(i18nOverride)),
_.each(_.keys(i18nOverride), function(i18nString) {
$window.i18n.addResources(language, "locales", expandObject(i18nOverride)), _.each(_.keys(i18nOverride), function(i18nString) {
$i18next(i18nString, {});
});
}), $i18next.reInit();
Expand Down

0 comments on commit debc4ac

Please sign in to comment.