Don't extract strings from the VALUE attributes of RADIO type INPUT fields;

these aren't translatable.
This commit is contained in:
acli 2004-02-17 06:30:38 +00:00
parent 4d2463c34a
commit b318d2b8e3

View file

@ -67,7 +67,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] eq 'hidden')); # FIXME
|| (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:hidden|radio)$/)); # FIXME
my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME
$val = TmplTokenizer::trim $val;
$text{$val} = 1 if $val =~ /\S/s;