koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.39,1.40


From: Ambrose Li
Subject: [Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.39,1.40
Date: Mon, 16 Feb 2004 22:30:41 -0800

Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9919

Modified Files:
        text-extract2.pl 
Log Message:
Don't extract strings from the VALUE attributes of RADIO type INPUT fields;
these aren't translatable.


Index: text-extract2.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/text-extract2.pl,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** text-extract2.pl    17 Feb 2004 05:07:04 -0000      1.39
--- text-extract2.pl    17 Feb 2004 06:30:38 -0000      1.40
***************
*** 68,72 ****
                    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
                    my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME
                    $val = TmplTokenizer::trim $val;
--- 68,72 ----
                    next if $a eq 'content' && $tag ne 'meta';
                    next if $a eq 'value' && ($tag ne 'input'
!                       || (ref $attr->{'type'} && $attr->{'type'}->[1] =~ 
/^(?:hidden|radio)$/)); # FIXME
                    my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME
                    $val = TmplTokenizer::trim $val;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]