diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-03-26 21:36:34 +0000 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-03-26 21:36:34 +0000 |
commit | c2909355bf66c92e46c9fbea39497ba91dbe37a0 (patch) | |
tree | c832f4ba40ba1728ddd82bc5684ca6b4aa9eb3b6 /core/js | |
parent | fc59a37ae7e28ad8ef7a0a383e87024ff942408d (diff) | |
parent | 58b4c2c0e53ff5ef6e261426ecb2b94d9791da71 (diff) | |
download | nextcloud-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.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); +}); + |