diff --git a/lib/WebGUI/Asset/File.pm b/lib/WebGUI/Asset/File.pm index f295bbb2d..f9e45ec36 100644 --- a/lib/WebGUI/Asset/File.pm +++ b/lib/WebGUI/Asset/File.pm @@ -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=>''.$self->get( '.$self->get("filename").'' ); } $tabform->getTab("properties")->file( -name=>"file", - -label=>"New File To Upload" + -label=>WebGUI::International::get('new file', 'Asset'), ); return $tabform; } diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index c8563b685..c236e95eb 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -208,6 +208,16 @@ The URL where the user will be redirected. context => 'Help text for redirects' }, + 'current file' => { + message => q|Current file|, + lastUpdated => 1106609809 + }, + + 'new file' => { + message => q|New file to upload|, + lastUpdated => 1106609855 + }, + 'errorEmptyField' => { message => q|

Error: Field name may not be empty.

|, lastUpdated => 1089039511