diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-12 11:39:03 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-12 11:39:03 +0200 |
commit | b38ce8adfd29f4d5c70d8fc243c8dce24b9f1f25 (patch) | |
tree | 34855e02e5e9e848f4cbd915869129e05cd52053 /apps | |
parent | 1b6dd6628a690cdbc36855ef5b1ff3926023001b (diff) | |
download | nextcloud-server-b38ce8adfd29f4d5c70d8fc243c8dce24b9f1f25.tar.gz nextcloud-server-b38ce8adfd29f4d5c70d8fc243c8dce24b9f1f25.zip |
committed patch (bug #967) to add missing translations for file actions
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/fileactions.js | 4 |
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+'"/>')); |