summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 11:55:35 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 11:55:35 +0100
commit4344b3d3cfd9f155899d2a7670f5936251fbc70f (patch)
tree16b76982298f2b11fb324bc401060ecf4073f73d
parent4eecb98b38bc1c679ef05c216fd4a9ead510971b (diff)
downloadnextcloud-server-4344b3d3cfd9f155899d2a7670f5936251fbc70f.tar.gz
nextcloud-server-4344b3d3cfd9f155899d2a7670f5936251fbc70f.zip
fix Delete action text being translatable
-rw-r--r--apps/files/js/fileactions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 82dabdfeaea..e981ac625bc 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -290,7 +290,8 @@
var $actionLink = $('<a href="#" original-title="' +
escapeHTML(deleteTitle) +
'" class="action delete icon-delete">' +
- '<span class="hidden">Delete</span></a>'
+ '<span class="hidden">' + escapeHTML(deleteTitle) + '</span>' +
+ '</a>'
);
var $container = context.$file.find('td:last');
$container.find('.delete').remove();