first wave of i18n fixes
This commit is contained in:
parent
b22cc241c0
commit
16b0edfb6b
4 changed files with 14 additions and 9 deletions
|
|
@ -102,6 +102,7 @@ Renders a yes/no question field.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
my ($checkYes, $checkNo);
|
||||
if ($self->get("value")) {
|
||||
$checkYes = 1;
|
||||
|
|
@ -114,7 +115,7 @@ sub toHtml {
|
|||
value=>1,
|
||||
extras=>$self->get("extras")
|
||||
)->toHtml;
|
||||
$output .= WebGUI::International::get(138);
|
||||
$output .= $i18n->get(138);
|
||||
$output .= ' ';
|
||||
$output .= WebGUI::Form::Radio->new(
|
||||
checked=>$checkNo,
|
||||
|
|
@ -122,7 +123,7 @@ sub toHtml {
|
|||
value=>0,
|
||||
extras=>$self->get("extras")
|
||||
)->toHtml;
|
||||
$output .= WebGUI::International::get(139);
|
||||
$output .= $i18n->get(139);
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue