[Top][All Lists]
[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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.39,1.40,
Ambrose Li <=
- Prev by Date:
[Koha-cvs] CVS: koha/misc/translator TmplTokenizer.pm,1.6,1.7 TmplToken.pm,1.1,1.2
- Next by Date:
[Koha-cvs] CVS: koha/misc/translator TmplTokenizer.pm,1.7,1.8
- Previous by thread:
[Koha-cvs] CVS: koha/misc/translator TmplTokenizer.pm,1.6,1.7 TmplToken.pm,1.1,1.2
- Next by thread:
[Koha-cvs] CVS: koha/misc/translator TmplTokenizer.pm,1.7,1.8
- Index(es):