From ea331251a41f191e2b551a600417b04aa3695574 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 16 Mar 2010 09:11:54 +0100 Subject: [PATCH] Followup : d31ac1 reintroducing submit buttons this reintroduces translation of submit values Signed-off-by: Galen Charlton --- misc/translator/xgettext.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl index a13be97466..031f9ba4e6 100755 --- a/misc/translator/xgettext.pl +++ b/misc/translator/xgettext.pl @@ -103,7 +103,7 @@ sub text_extract (*) { next if $a eq 'label' && $tag ne 'optgroup'; next if $a eq 'content' && $tag ne 'meta'; next if $a eq 'value' && ($tag ne 'input' - || (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:hidden|radio|submit)$/)); # FIXME + || (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:hidden|radio|checkbox)$/)); # FIXME my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME $val = TmplTokenizer::trim $val; remember( $s, $val ) if $val =~ /\S/s; -- 2.39.5