aboutsummaryrefslogtreecommitdiffstats
path: root/stattrans.pl
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2004-05-08 00:36:30 +0000
committerDenis Barbier <barbier>2004-05-08 00:36:30 +0000
commit0189e5ce88508c65437f73a1037f395c069227b3 (patch)
treed1cd0796069593fd3a482ff8141b9b9b74c85524 /stattrans.pl
parent47da5948fe49c859c11c982cd4c1bd5af3f22af7 (diff)
As requested by Chuan-kai Lin, generate zh-tw stats. Figures are
similar to zh-cn, but links to translated files are different. CVS version numbers stattrans.pl: 1.58 -> 1.59
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-xstattrans.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/stattrans.pl b/stattrans.pl
index d88a951092e..5cb7dfeb404 100755
--- a/stattrans.pl
+++ b/stattrans.pl
@@ -257,9 +257,10 @@ my $nfiles = scalar @filenames;
print "Creating files: " if ($config{'verbose'});
foreach $lang (@search_in) {
- $l = $langs{$lang};
+ my @processed_langs = ($langs{$lang});
+ @processed_langs = ("zh-cn", "zh-tw") if $langs{$lang} eq "zh";
+ foreach $l (@processed_langs) {
print "$l.html " if ($config{'verbose'});
- $l = "zh-cn" if ($l eq "zh"); # kludge
$t_body = $u_body = $o_body = "";
@@ -432,6 +433,7 @@ foreach $lang (@search_in) {
print HTML "</body></html>";
close (HTML);
}
+ }
}
print "\n" if ($config{'verbose'});

© 2014-2024 Faster IT GmbH | imprint | privacy policy