summaryrefslogtreecommitdiffstats
path: root/core/js/l10n.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-03-16 14:07:53 +0100
committerVincent Petry <pvince81@owncloud.com>2015-03-26 11:21:03 +0100
commitca6b715b31bbfea7724dd8659e2a1e61098a31a5 (patch)
tree322cde35082f830855ab023c969ce093eb0bc325 /core/js/l10n.js
parent69f14f974b2acd385809b508f22aa5c15e70d801 (diff)
downloadnextcloud-server-ca6b715b31bbfea7724dd8659e2a1e61098a31a5.tar.gz
nextcloud-server-ca6b715b31bbfea7724dd8659e2a1e61098a31a5.zip
Added ext storage mount options GUI
Added option to disable autoscan of external storages Mount option file system scan is now an int Move priority field to avoid undefined field in storage options All input elements inside the storage options block get parsed into storage options. Moving the priority field outside prevents it to appear in the storage config, as expected. It is still parsed by special code.
Diffstat (limited to 'core/js/l10n.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);
+});
+