Reintroducing submit value buttons in po files

Submit values need to be translated.
This commit is contained in:
Henri-Damien LAURENT 2009-10-28 18:38:52 +01:00
parent 44f3f7bb94
commit 3330226470

View file

@ -54,7 +54,7 @@ sub text_replace_tag ($$) {
if ($attr->{$a}) {
next if $a eq 'content' && $tag ne 'meta';
next if $a eq 'value' && ($tag ne 'input'
|| (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:checkbox|hidden|radio|text|submit)$/)); # FIXME
|| (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:checkbox|hidden|radio|text)$/)); # FIXME
my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME
if ($val =~ /\S/s) {
my $s = find_translation($val);