Fixing translation process
Removing checkbox values from po generation Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
parent
5e66f2d927
commit
01b7b518f8
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ sub text_replace_tag ($$) {
|
||||||
if ($attr->{$a}) {
|
if ($attr->{$a}) {
|
||||||
next if $a eq 'content' && $tag ne 'meta';
|
next if $a eq 'content' && $tag ne 'meta';
|
||||||
next if $a eq 'value' && ($tag ne 'input'
|
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
|
my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME
|
||||||
if ($val =~ /\S/s) {
|
if ($val =~ /\S/s) {
|
||||||
my $s = find_translation($val);
|
my $s = find_translation($val);
|
||||||
|
|
Loading…
Reference in a new issue