diff --git a/core/js/share/sharedialogshareelistview.handlebars b/core/js/share/sharedialogshareelistview.handlebars
index ba9aa6e510..a95949c815 100644
--- a/core/js/share/sharedialogshareelistview.handlebars
+++ b/core/js/share/sharedialogshareelistview.handlebars
@@ -19,7 +19,7 @@
{{#each linkReshares}}
- t('core', '{{shareInitiatorDisplayName}} shared via link') + '
+ {{shareInitiatorText}}
{{unshareLabel}}
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 39e79f19eb..93373a5443 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -255,7 +255,7 @@
// with references
list.push(_.extend({}, universal, share, {
shareInitiator: shares[index].uid_owner,
- shareInitiatorDisplayName: shares[index].displayname_owner
+ shareInitiatorText: t('core', '{shareInitiatorDisplayName} shared via link', {shareInitiatorDisplayName: shares[index].displayname_owner})
}));
}
diff --git a/core/js/sharetemplates.js b/core/js/sharetemplates.js
index 47bd2c9a14..efdd3ff660 100644
--- a/core/js/sharetemplates.js
+++ b/core/js/sharetemplates.js
@@ -302,9 +302,9 @@ templates['sharedialogshareelistview'] = template({"1":function(container,depth0
+ alias4(((helper = (helper = helpers.shareInitiator || (depth0 != null ? depth0.shareInitiator : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"shareInitiator","hash":{},"data":data}) : helper)))
+ "\">\n t('core', '"
- + alias4(((helper = (helper = helpers.shareInitiatorDisplayName || (depth0 != null ? depth0.shareInitiatorDisplayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"shareInitiatorDisplayName","hash":{},"data":data}) : helper)))
- + " shared via link') + '\n \n "
+ + "\">"
+ + alias4(((helper = (helper = helpers.shareInitiatorText || (depth0 != null ? depth0.shareInitiatorText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"shareInitiatorText","hash":{},"data":data}) : helper)))
+ + "\n \n "
+ alias4(((helper = (helper = helpers.unshareLabel || (depth0 != null ? depth0.unshareLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"unshareLabel","hash":{},"data":data}) : helper)))
+ "\n \n \n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
diff --git a/settings/js/authtoken.handlebars b/settings/js/authtoken.handlebars
index ab3405c889..7c222d863f 100644
--- a/settings/js/authtoken.handlebars
+++ b/settings/js/authtoken.handlebars
@@ -13,12 +13,12 @@
{{#if canScope}}
{{/if}}
{{#if canDelete}}
- ' + t('settings', 'Revoke') +'
+ {{revokeText}}
{{/if}}
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index 0ab5ebe2b6..76c6c8c0f6 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -31,6 +31,9 @@
_template: undefined,
template: function (data) {
+ data.disconnectText = t('settings', 'Disconnect');
+ data.revokeText = t('settings', 'Revoke');
+ data.allowFSAccess = t('settings', 'Allow filesystem access');
return OC.Settings.Templates['authtoken'](data);
},
diff --git a/settings/js/templates.js b/settings/js/templates.js
index 649f2e9596..9d7457cd65 100644
--- a/settings/js/templates.js
+++ b/settings/js/templates.js
@@ -11,11 +11,19 @@ templates['authtoken'] = template({"1":function(container,depth0,helpers,partial
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.scope : depth0)) != null ? stack1.filesystem : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "/>\n
\n \n";
+ + "_filesystem\">"
+ + alias4(((helper = (helper = helpers.allowFSAccess || (depth0 != null ? depth0.allowFSAccess : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"allowFSAccess","hash":{},"data":data}) : helper)))
+ + "
\n \n";
},"4":function(container,depth0,helpers,partials,data) {
return "checked";
},"6":function(container,depth0,helpers,partials,data) {
- return " \n ' + t('settings', 'Revoke') +'\n \n";
+ var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
+
+ return " \n "
+ + alias4(((helper = (helper = helpers.revokeText || (depth0 != null ? depth0.revokeText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"revokeText","hash":{},"data":data}) : helper)))
+ + "\n \n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;