[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc/translator/po stats.pl,1.1.2.2,1.1.2.3
From: |
Ambrose C. LI |
Subject: |
[Koha-cvs] CVS: koha/misc/translator/po stats.pl,1.1.2.2,1.1.2.3 |
Date: |
Sun, 23 Jan 2005 00:59:41 -0800 |
Update of /cvsroot/koha/koha/misc/translator/po
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15497
Modified Files:
Tag: rel_2_2
stats.pl
Log Message:
Forgot to remove some other debugging code
Fixed the sorting order
Index: stats.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/po/Attic/stats.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** stats.pl 23 Jan 2005 06:17:52 -0000 1.1.2.2
--- stats.pl 23 Jan 2005 08:59:39 -0000 1.1.2.3
***************
*** 61,65 ****
my($theme1, $module1) = ($1, $2) if $a =~ /^(.*)_([^_]+)$/;
my($theme2, $module2) = ($1, $2) if $b =~ /^(.*)_([^_]+)$/;
! $module1 cmp $module2 && $theme1 cmp $theme2
} @templates) {
my @pos_orig = @pos;
--- 61,65 ----
my($theme1, $module1) = ($1, $2) if $a =~ /^(.*)_([^_]+)$/;
my($theme2, $module2) = ($1, $2) if $b =~ /^(.*)_([^_]+)$/;
! return $module1 cmp $module2 || $theme1 cmp $theme2
} @templates) {
my @pos_orig = @pos;
***************
*** 67,71 ****
my($theme, $module) = ($1, $2) if $PACKAGE =~ /^(.*)_([^_]+)$/;
! $_ = `msgfmt --statistics $PACKAGE.pot -o /dev/null 2>&1 |tee zz`;
die "unable to get total: $!" unless (/(\d+) untranslated messages/);
--- 67,71 ----
my($theme, $module) = ($1, $2) if $PACKAGE =~ /^(.*)_([^_]+)$/;
! $_ = `msgfmt --statistics $PACKAGE.pot -o /dev/null 2>&1`;
die "unable to get total: $!" unless (/(\d+) untranslated messages/);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/translator/po stats.pl,1.1.2.2,1.1.2.3,
Ambrose C. LI <=
- Prev by Date:
[Koha-cvs] CVS: koha/misc/translator/po css_opac_zh_TW.po,1.4,1.4.2.1 default_intranet_zh_TW.po,1.4,1.4.2.1
- Next by Date:
[Koha-cvs] CVS: koha/misc/translator tmpl_process3.pl,1.20,1.20.2.1
- Previous by thread:
[Koha-cvs] CVS: koha/misc/translator/po css_opac_zh_TW.po,1.4,1.4.2.1 default_intranet_zh_TW.po,1.4,1.4.2.1
- Next by thread:
[Koha-cvs] CVS: koha/misc/translator tmpl_process3.pl,1.20,1.20.2.1
- Index(es):