summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-03-26 21:36:34 +0000
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2015-03-26 21:36:34 +0000
commitc2909355bf66c92e46c9fbea39497ba91dbe37a0 (patch)
treec832f4ba40ba1728ddd82bc5684ca6b4aa9eb3b6 /core/js
parentfc59a37ae7e28ad8ef7a0a383e87024ff942408d (diff)
parent58b4c2c0e53ff5ef6e261426ecb2b94d9791da71 (diff)
downloadnextcloud-server-c2909355bf66c92e46c9fbea39497ba91dbe37a0.tar.gz
nextcloud-server-c2909355bf66c92e46c9fbea39497ba91dbe37a0.zip
Merge pull request #14925 from owncloud/ext-mountoptions-ui
Mount options GUI for external storage
Diffstat (limited to 'core/js')
-rw-r--r--core/js/l10n.js4
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);
+});
+