From a18293a2e38e7f34b6d3710743f047387b12a702 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 4 Nov 2009 14:48:40 +0100 Subject: [PATCH] Followup : d31ac1 reintroducing submit buttons this reintroduces translation of submit values --- 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 996b952db6..8e1dfd7951 100755 --- a/misc/translator/xgettext.pl +++ b/misc/translator/xgettext.pl @@ -102,7 +102,7 @@ sub text_extract (*) { 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] =~ /^(?: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