diff --git a/app/assets/javascripts/discourse/helpers/i18n_helpers.js b/app/assets/javascripts/discourse/helpers/i18n_helpers.js index 2e3eb8c19a0..2d4c036e6fd 100644 --- a/app/assets/javascripts/discourse/helpers/i18n_helpers.js +++ b/app/assets/javascripts/discourse/helpers/i18n_helpers.js @@ -9,7 +9,7 @@ Ember.Handlebars.registerHelper('i18n', function(property, options) { var params, _this = this; params = options.hash; - Object.keys(params, function(key, value) { + _.each(params, function(value, key) { params[key] = Em.Handlebars.get(_this, value, options); }); return Ember.String.i18n(property, params);