committed patch (bug #967) to add missing translations for file actions

This commit is contained in:
Bjoern Schiessle 2012-06-12 11:39:03 +02:00
parent 107c2de25d
commit 4501407283
1 changed files with 2 additions and 2 deletions

View File

@ -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+'"/>'));