first wave of i18n fixes
This commit is contained in:
parent
b22cc241c0
commit
16b0edfb6b
4 changed files with 14 additions and 9 deletions
|
|
@ -68,7 +68,8 @@ Renders a button.
|
|||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $value = $self->fixQuotes($self->get("value"));
|
||||
$self->get("extras") ||= 'onclick="this.value=\''.WebGUI::International::get(452).'\'"';
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
$self->get("extras") ||= 'onclick="this.value=\''.$i18n->get(452).'\'"';
|
||||
my $html = '<input type="submit" ';
|
||||
$html .= 'name="'.$self->get("name").'" ' if ($self->get("name"));
|
||||
$html .= 'id="'.$self->{id}.'" ' unless ($self->{id} eq "_formId");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue