diff options
Diffstat (limited to 'core/js/l10n.js')
-rw-r--r-- | core/js/l10n.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/l10n.js b/core/js/l10n.js index 60ffa949191..fb93d7b789e 100644 --- a/core/js/l10n.js +++ b/core/js/l10n.js @@ -226,3 +226,7 @@ window.t = _.bind(OC.L10N.translate, OC.L10N); */ window.n = _.bind(OC.L10N.translatePlural, OC.L10N); +Handlebars.registerHelper('t', function(app, text) { + return OC.L10N.translate(app, text); +}); + |