more i18n fixes

This commit is contained in:
Colin Kuskie 2006-01-15 01:04:35 +00:00
parent 16b0edfb6b
commit f78591d8a7
8 changed files with 27 additions and 20 deletions

View file

@ -96,8 +96,9 @@ Renders a combo box form control.
sub toHtml {
my $self = shift;
$self->get("options")->{''} = '['.WebGUI::International::get(582).']';
$self->get("options")->{_new_} = WebGUI::International::get(581).'->';
my $i18n = WebGUI::International->new($self->session);
$self->get("options")->{''} = '['.$i18n->get(582).']';
$self->get("options")->{_new_} = $i18n->get(581).'->';
return $self->SUPER::toHtml
.WebGUI::Form::Text->new(
size=>$self->session->setting->get("textBoxSize")-5,