diff --git a/website/gettext.wesnoth.org/grab-stats.php b/website/gettext.wesnoth.org/grab-stats.php index cad8e376d31..cc5594fb544 100755 --- a/website/gettext.wesnoth.org/grab-stats.php +++ b/website/gettext.wesnoth.org/grab-stats.php @@ -55,7 +55,7 @@ function grab_stats ($tob, $official, $packs) // trunk or branch, official (1) o $languages = file_get_contents($po_dir . "/LINGUAS"); $languages = substr($languages, 0, strlen($languages)-1); $langs = explode(" ", $languages); - echo "

Getting stats for package $package

"; + echo "Getting stats for package $package\n"; $stats["_pot"] = getstats("$po_dir/" . $domain . ".pot"); if (!file_exists("stats/" . $domain)) { @@ -63,7 +63,7 @@ function grab_stats ($tob, $official, $packs) // trunk or branch, official (1) o } foreach ($langs as $lang) { - echo "Getting stats for lang $lang
"; + //echo "Getting stats for lang $lang\n"; $pofile = $po_dir . "/" . $lang . ".po"; $stats[$lang] = getstats($pofile); } @@ -76,11 +76,11 @@ function grab_stats ($tob, $official, $packs) // trunk or branch, official (1) o } } -echo "

Getting stats for trunk

\n"; +echo "Getting stats for trunk\n"; grab_stats("trunk", 1, $packs); grab_stats("trunk", 0, $extratpacks); -echo "

Getting stats for branch ($branch)

\n"; +echo "Getting stats for branch ($branch)\n"; grab_stats("branch", 1, $packs); grab_stats("branch", 0, $extrabpacks);