aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2012-07-31 16:23:14 +0000
committerFilip Komar <filip@mageia.org>2012-07-31 16:23:14 +0000
commitf5b7b8eb042d95fd799fb03b3a9d5d93b09a8610 (patch)
treeaece27fcb26e157a843d1c477bef925739c77b1e /langs/report.php
parent956239010b1e28ba6a85386c04ef322eab1b713b (diff)
downloadwww-f5b7b8eb042d95fd799fb03b3a9d5d93b09a8610.tar
www-f5b7b8eb042d95fd799fb03b3a9d5d93b09a8610.tar.gz
www-f5b7b8eb042d95fd799fb03b3a9d5d93b09a8610.tar.bz2
www-f5b7b8eb042d95fd799fb03b3a9d5d93b09a8610.tar.xz
www-f5b7b8eb042d95fd799fb03b3a9d5d93b09a8610.zip
fixing English to be always on top of the report
Diffstat (limited to 'langs/report.php')
-rw-r--r--langs/report.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/langs/report.php b/langs/report.php
index 9473a79e8..4f06f03ff 100644
--- a/langs/report.php
+++ b/langs/report.php
@@ -135,7 +135,9 @@
$s .= '</tr>';
$languages[$progress . '-' . $l] = $s;
}
+ $en_language = array_shift($languages); // shift English for proper sorting
krsort($languages, SORT_NUMERIC);
+ array_unshift($languages, $en_language); // unshift English back
$s = implode($languages);
$thfiles = '<th>' . implode('</th><th>', $enFiles) . '</th>';