internationalize remove button for upload controls
This commit is contained in:
parent
25f4e4dfd5
commit
eb1c9f0564
4 changed files with 8 additions and 3 deletions
|
|
@ -218,7 +218,7 @@ sub getUploadControl {
|
||||||
$uploadControl .= 'images["'.$ext.'"] = "'.$session{config}{extrasURL}.'/fileIcons/'.$file.'";'."\n";
|
$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();
|
uploader.addRow();
|
||||||
</script>';
|
</script>';
|
||||||
return $uploadControl;
|
return $uploadControl;
|
||||||
|
|
|
||||||
|
|
@ -490,7 +490,7 @@ sub getUploadControl {
|
||||||
$uploadControl .= 'images["'.$ext.'"] = "'.$session{config}{extrasURL}.'/fileIcons/'.$file.'";'."\n";
|
$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();
|
uploader.addRow();
|
||||||
</script>';
|
</script>';
|
||||||
return $uploadControl;
|
return $uploadControl;
|
||||||
|
|
|
||||||
|
|
@ -833,7 +833,7 @@ sub files {
|
||||||
$uploadControl .= 'images["'.$ext.'"] = "'.$session{config}{extrasURL}.'/fileIcons/'.$file.'";'."\n";
|
$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();
|
uploader.addRow();
|
||||||
</script>';
|
</script>';
|
||||||
return $uploadControl;
|
return $uploadControl;
|
||||||
|
|
|
||||||
|
|
@ -1316,6 +1316,11 @@ will be modified to make it unique.|,
|
||||||
lastUpdated => 1047838780
|
lastUpdated => 1047838780
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'removeLabel' => {
|
||||||
|
message => q|remove|,
|
||||||
|
lastUpdated => 1116450882
|
||||||
|
},
|
||||||
|
|
||||||
'72' => {
|
'72' => {
|
||||||
message => q|recover|,
|
message => q|recover|,
|
||||||
lastUpdated => 1031514049
|
lastUpdated => 1031514049
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue