summaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-12 11:39:03 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-12 11:39:03 +0200
commitb38ce8adfd29f4d5c70d8fc243c8dce24b9f1f25 (patch)
tree34855e02e5e9e848f4cbd915869129e05cd52053 /apps/files/js/fileactions.js
parent1b6dd6628a690cdbc36855ef5b1ff3926023001b (diff)
downloadnextcloud-server-b38ce8adfd29f4d5c70d8fc243c8dce24b9f1f25.tar.gz
nextcloud-server-b38ce8adfd29f4d5c70d8fc243c8dce24b9f1f25.zip
committed patch (bug #967) to add missing translations for file actions
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r--apps/files/js/fileactions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 0c672cd6708..7414c1f3395 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -71,7 +71,7 @@ FileActions={
}
var html='<a href="#" class="action" style="display:none">';
if(img) { html+='<img src="'+img+'"/> '; }
- html += name+'</a>';
+ html += t('files', name) +'</a>';
var element=$(html);
element.data('action',name);
element.click(function(event){
@@ -91,7 +91,7 @@ FileActions={
if(img.call){
img=img(file);
}
- var html='<a href="#" original-title="Delete" class="action delete" style="display:none" />';
+ var html='<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" style="display:none" />';
var element=$(html);
if(img){
element.append($('<img src="'+img+'"/>'));