internationalize File add/edit form labels
This commit is contained in:
parent
591083a87f
commit
3b9e34e194
2 changed files with 12 additions and 2 deletions
|
|
@ -119,14 +119,14 @@ sub getEditForm {
|
|||
my $tabform = $self->SUPER::getEditForm();
|
||||
if ($self->get("filename") ne "") {
|
||||
$tabform->getTab("properties")->readOnly(
|
||||
-label=>"Current File",
|
||||
-label=>WebGUI::International::get('current file', 'Asset'),
|
||||
-value=>'<a href="'.$self->getFileUrl.'"><img src="'.$self->getFileIconUrl.'" alt="'.$self->get("filename").'" border="0" align="middle" /> '.$self->get("filename").'</a>'
|
||||
);
|
||||
|
||||
}
|
||||
$tabform->getTab("properties")->file(
|
||||
-name=>"file",
|
||||
-label=>"New File To Upload"
|
||||
-label=>WebGUI::International::get('new file', 'Asset'),
|
||||
);
|
||||
return $tabform;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue