aboutsummaryrefslogtreecommitdiffstats
path: root/stattrans.pl
diff options
context:
space:
mode:
authorFrench Language Team <french>2002-11-29 10:20:45 +0000
committerFrench Language Team <french>2002-11-29 10:20:45 +0000
commitdf33514fa8f2fe5d12793517f17f811591db7f15 (patch)
tree6022892d3541ffa165deb940ce9259d51af6ff49 /stattrans.pl
parentf0367b7ee194536a8b2223f4ef6000d5ca6dc1b4 (diff)
Repports about how many pages (or gettext strings) are to be translated
CVS version numbers stattrans.pl: 1.50 -> 1.51
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-xstattrans.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/stattrans.pl b/stattrans.pl
index 5035b089ccc..8fec6452399 100755
--- a/stattrans.pl
+++ b/stattrans.pl
@@ -431,6 +431,7 @@ printf HTML "<html>\n<head><title>%s</title></head>\n<body bgcolor=\"#ffffff\">\
printf HTML "<h1 align=\"center\">%s</h1>\n", $config{'title'};
print HTML "<h2>Translated web pages</h2>\n";
+printf HTML "<p>There is %d pages to translate.</p>\n",($wml{'english'}+$untranslated{'english'});
print HTML $border_head;
print HTML "<table width=\"100%\" border=0 bgcolor=\"#cdc9c9\">\n";
@@ -456,9 +457,10 @@ print HTML "</table>\n";
print HTML $border_foot;
print HTML "<h2>Translated templates (gettext files)</h2>\n";
+printf HTML "<p>There is %d strings to translate.</p>\n",$po_total{'total'};
print HTML $border_head;
print HTML "<table width=\"100%\" border=0 bgcolor=\"#cdc9c9\">\n";
-print HTML "<tr><th>Language</th><th>Up to date</th><th>Fuzzy</th><th>Not translated</th><th>Total</th></tr>\n";
+print HTML "<tr><th>Language</th><th>Up to date</th><th>Fuzzy</th><th>Not translated</th></tr>\n";
foreach $lang (@search_in) {
next if $lang eq 'english';
$l = $langs{$lang};
@@ -472,7 +474,6 @@ foreach $lang (@search_in) {
printf HTML "<td bgcolor=\"%s\" align=right>%d (%d%%)</td>", $color_t, $po_translated{'total'}{$lang}, $percent_po_t{'total'}{$lang};
printf HTML "<td bgcolor=\"%s\" align=right>%d (%d%%)</td>", $color_f, $po_fuzzy{'total'}{$lang}, $percent_po_f{'total'}{$lang};
printf HTML "<td bgcolor=\"%s\" align=right>%d (%d%%)</td>", $color_u, $po_untranslated{'total'}{$lang}, $percent_po_u{'total'}{$lang};
- printf HTML "<td align=right>%d</td>", $po_total{'total'};
print HTML "</tr>\n";
}

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