From: Ævar Arnfjörð Bjarmason Date: Mon, 20 Jun 2005 11:56:24 +0000 (+0000) Subject: * A new tool to check for redundant translations X-Git-Tag: 1.5.0beta1~127 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=276b6868b1375f8c102e54af85175efa59f4a47f;p=lhc%2Fweb%2Fwiklou.git * A new tool to check for redundant translations --- diff --git a/maintenance/redundanttrans.php b/maintenance/redundanttrans.php new file mode 100644 index 0000000000..ea47c1a1ce --- /dev/null +++ b/maintenance/redundanttrans.php @@ -0,0 +1,29 @@ + $msg ) { + ++$total; + if ( ! array_key_exists( $code, $wgAllMessagesEn ) ) { + print "* $code\n"; + ++$count; + } +} + +print "{$count} messages of {$total} are redundant\n"; +?>