From 01b7b518f88fb8ea5cf78497388a73046d919baf Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 22 Sep 2009 15:16:21 +0200 Subject: [PATCH] Fixing translation process Removing checkbox values from po generation Signed-off-by: Henri-Damien LAURENT --- misc/translator/tmpl_process3.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl index 4e217eb67f..d876450717 100755 --- a/misc/translator/tmpl_process3.pl +++ b/misc/translator/tmpl_process3.pl @@ -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] =~ /^(?:hidden|radio|text|submit)$/)); # FIXME + || (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:checkbox|hidden|radio|text|submit)$/)); # FIXME my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME if ($val =~ /\S/s) { my $s = find_translation($val); -- 2.39.5