internationalize remove button for upload controls

This commit is contained in:
Colin Kuskie 2005-05-18 21:19:50 +00:00
parent 25f4e4dfd5
commit eb1c9f0564
4 changed files with 8 additions and 3 deletions

View file

@ -218,7 +218,7 @@ sub getUploadControl {
$uploadControl .= 'images["'.$ext.'"] = "'.$session{config}{extrasURL}.'/fileIcons/'.$file.'";'."\n";
}
}
$uploadControl .= 'var uploader = new FileUploadControl("fileUploadControl", images);
$uploadControl .= 'var uploader = new FileUploadControl("fileUploadControl", images, '.WebGUI::International::get('removeLabel','WebGUI').');
uploader.addRow();
</script>';
return $uploadControl;

View file

@ -490,7 +490,7 @@ sub getUploadControl {
$uploadControl .= 'images["'.$ext.'"] = "'.$session{config}{extrasURL}.'/fileIcons/'.$file.'";'."\n";
}
}
$uploadControl .= 'var uploader = new FileUploadControl("fileUploadControl", images, '.WebGUI::International::get('removeLabel','Probably the WebGUI Namespace would be best since this appears in several modules - post, filepile, form').');
$uploadControl .= 'var uploader = new FileUploadControl("fileUploadControl", images, '.WebGUI::International::get('removeLabel','WebGUI').');
uploader.addRow();
</script>';
return $uploadControl;

View file

@ -833,7 +833,7 @@ sub files {
$uploadControl .= 'images["'.$ext.'"] = "'.$session{config}{extrasURL}.'/fileIcons/'.$file.'";'."\n";
}
}
$uploadControl .= 'var uploader = new FileUploadControl("fileUploadControl", images);
$uploadControl .= 'var uploader = new FileUploadControl("fileUploadControl", images, '.WebGUI::International::get('removeLabel','WebGUI').');
uploader.addRow();
</script>';
return $uploadControl;

View file

@ -1316,6 +1316,11 @@ will be modified to make it unique.|,
lastUpdated => 1047838780
},
'removeLabel' => {
message => q|remove|,
lastUpdated => 1116450882
},
'72' => {
message => q|recover|,
lastUpdated => 1031514049