mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 11:36:48 +00:00
Added missing module name for dynamic-locale
This commit is contained in:
parent
dd9b937b73
commit
1c9bdb95c4
@ -1,6 +1,6 @@
|
||||
(function (module) {
|
||||
mifosX.controllers = _.extend(module, {
|
||||
UserSettingController: function (scope, translate, localStorageService) {
|
||||
UserSettingController: function (scope, translate, localStorageService, tmhDynamicLocale) {
|
||||
if (localStorageService.get('Language')) {
|
||||
var temp = localStorageService.get('Language');
|
||||
for (var i in mifosX.models.Langs) {
|
||||
@ -38,7 +38,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
mifosX.ng.application.controller('UserSettingController', ['$scope', '$translate', 'localStorageService', mifosX.controllers.UserSettingController]).run(function ($log) {
|
||||
mifosX.ng.application.controller('UserSettingController', ['$scope', '$translate', 'localStorageService', 'tmhDynamicLocale', mifosX.controllers.UserSettingController]).run(function ($log) {
|
||||
$log.info("UserSettingController initialized");
|
||||
});
|
||||
}(mifosX.controllers || {}));
|
||||
Loading…
Reference in New Issue
Block a user