[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.23,1.24
From: |
Ambrose Li |
Subject: |
[Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.23,1.24 |
Date: |
Fri, 13 Feb 2004 23:13:12 -0800 |
Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16567
Modified Files:
text-extract2.pl
Log Message:
Don't extract TMPL_VAR's as if they were translatable
Index: text-extract2.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/text-extract2.pl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** text-extract2.pl 14 Feb 2004 07:07:36 -0000 1.23
--- text-extract2.pl 14 Feb 2004 07:13:09 -0000 1.24
***************
*** 293,300 ****
}
}
! # Emit all extracted strings. Don't emit pure whitespace or pure numbers.
for my $t (keys %text) {
printf "%s\n", $t
! unless $t =~ /^(?:\s|\ $re_end_entity)*$/os || $t =~ /^\d+$/;
}
}
--- 293,301 ----
}
}
! # Emit all extracted strings.
! # Don't emit pure whitespace, pure numbers, or TMPL_VAR's.
for my $t (keys %text) {
printf "%s\n", $t
! unless $t =~ /^(?:\s|\ $re_end_entity|$re_tmpl_var)*$/os || $t
=~ /^\d+$/;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.23,1.24,
Ambrose Li <=