summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/sharedialogview.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index 857d1407ab4..e7435877cb3 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -243,12 +243,19 @@
var insert = $("<a>");
var text = item.label;
if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) {
- text = text + ' ('+t('core', 'group')+')';
+ text = t('core', '{sharee} (group)', {
+ sharee: text
+ });
} else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) {
if (item.value.server) {
- text = text + ' (' + t('core', 'at') + ' ' + item.value.server + ')';
+ text = t('core', '{sharee} (at {server})', {
+ sharee: text,
+ server: item.value.server
+ });
} else {
- text = text + ' (' + t('core', 'remote') + ')';
+ text = t('core', '{sharee} (remote)', {
+ sharee: text
+ });
}
}
insert.text(text);