show content of message missing and available in reference file.
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 30 Jan 2005 17:52:34 +0000 (17:52 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 30 Jan 2005 17:52:34 +0000 (17:52 +0000)
maintenance/DiffLanguage.php
maintenance/commandLine.inc

index 2461274..cabe3dc 100644 (file)
@@ -135,10 +135,11 @@ foreach($referenceMessages as $index => $localized)
 {
        if(!(isset($testMessages[$index]))) {
                $i++;
-               print "Language$testLanguage.php is missing: $index\n";
+               print "\nLanguage$testLanguage.php is missing: $index :\n";
+               print $localized;
        }
 }
-echo "----\n".$msg;
+echo "\n----\n".$msg;
 echo "$referenceLanguage language is complete at ".number_format((100 - $i/count($wgAllMessagesEn) * 100),2)."%\n";
 echo "$i unlocalised messages of the ".count($wgAllMessagesEn)." messages available.\n";
 print_r($time);
index ce22a41..8c25f3c 100644 (file)
@@ -144,5 +144,4 @@ require_once( "Setup.php" );
 require_once( "install-utils.inc" );
 $wgTitle = Title::newFromText( "Command line script" );
 set_time_limit(0);
-
-?>
+?>
\ No newline at end of file