diff --git a/app/assets/javascripts/discourse/helpers/application_helpers.js b/app/assets/javascripts/discourse/helpers/application_helpers.js index 8a5eeda29d1..919688461f0 100644 --- a/app/assets/javascripts/discourse/helpers/application_helpers.js +++ b/app/assets/javascripts/discourse/helpers/application_helpers.js @@ -354,3 +354,7 @@ Handlebars.registerHelper('customHTML', function(property) { } }); + +Ember.Handlebars.registerBoundHelper('humanSize', function(size) { + return new Handlebars.SafeString(I18n.toHumanSize(size)); +});