Skip to content
Permalink
Browse files
update tsstat.pl
  • Loading branch information
jef-n committed Feb 13, 2012
1 parent 38113fb commit 8a9cb768685232a72899d3cc3224e5b03c69a076
Showing with 2 additions and 3 deletions.
  1. +2 −3 scripts/tsstat.pl
@@ -6,7 +6,7 @@

my @lang;

print "{| border='1' \n |Language||Count||Translated||Translation finished||Translation unfinished||Untranslated||Percentage \n |- \n";
print "|Language|Count|Translated|Translation finished|Translation unfinished|Untranslated|Percentage|\n";

for my $i (<i18n/qgis_*.ts>) {
my ($langcode) = $i =~ /i18n\/qgis_(.*).ts/;
@@ -44,6 +44,5 @@


for my $l (sort { $b->{percentage} <=> $a->{percentage} } @lang) {
print "|", $l->{name}, "||", join("||", $l->{n}, $l->{translations}, $l->{finished}, $l->{unfinished}, $l->{untranslated}, sprintf("%.1f", $l->{percentage}) ), "\n", "|-\n";
print "|", $l->{name}, "|", join("|", $l->{n}, $l->{translations}, $l->{finished}, $l->{unfinished}, $l->{untranslated}, sprintf("%.1f", $l->{percentage}) ), "|\n";
}
print "|}","\n";

0 comments on commit 8a9cb76

Please sign in to comment.