Alexandre Julliard : transl: Replace "file" by "module" now that results don't reflect individual files.

Alexandre Julliard julliard at winehq.org
Mon Jun 22 10:11:01 CDT 2009


Module: tools
Branch: master
Commit: d532fc9e17e9530c693d8a7352d710b2c1aa7b42
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=d532fc9e17e9530c693d8a7352d710b2c1aa7b42

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun 22 17:08:39 2009 +0200

transl: Replace "file" by "module" now that results don't reflect individual files.

---

 transl/php/lang.php    |    8 ++++----
 transl/php/resfile.php |   14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/transl/php/lang.php b/transl/php/lang.php
index a743deb..9d79d91 100644
--- a/transl/php/lang.php
+++ b/transl/php/lang.php
@@ -64,7 +64,7 @@ function dump_table($table)
         return;
     }
     echo "<table border=\"1\">\n";
-    echo "<tr><th>File name</th><th>translated</th><th>missing</th><th>errors</th></tr>\n";
+    echo "<tr><th>name</th><th>translated</th><th>missing</th><th>errors</th></tr>\n";
     foreach ($table as $key => $value)
     {
         $extra = "";
@@ -85,16 +85,16 @@ function dump_table($table)
 
 <?php warn_if_lang_hidden($lang) ?>
 
-<h2>Partially translated files</h2>
+<h2>Partially translated modules</h2>
 <?php dump_table($partial) ?>
 
-<h2>Files not translated</h2>
+<h2>Modules not translated</h2>
 <?php dump_table($notransl) ?>
 
 <h2>Locales data</h2>
 <?php dump_table($locale) ?>
 
-<h2>Fully translated files</h2>
+<h2>Fully translated modules</h2>
 <?php dump_table($transl) ?>
 
 </html>
diff --git a/transl/php/resfile.php b/transl/php/resfile.php
index 4044d80..af5f118 100644
--- a/transl/php/resfile.php
+++ b/transl/php/resfile.php
@@ -11,12 +11,12 @@ $msgs = array();
 <html>
 <head>
     <link rel="stylesheet" href="style.css" type="text/css"/>
-    <title>File <?php echo $resfile?> - Wine translations</title>
+    <title>Module <?php echo $resfile?> - Wine translations</title>
 </head>
 
 <?php dump_menu_root() ?> &gt <?php dump_menu_lang($lang) ?> &gt <?php dump_menu_resfile($lang, $resfile, FALSE) ?>
 
-<h1>File <?php echo $resfile?></h1>
+<h1>Module <?php echo $resfile?></h1>
 
 <?php
 warn_if_lang_hidden($lang);
@@ -30,12 +30,12 @@ while ($line = fgets($file, 4096))
 }
 
 if (count($msgs) == 0) {
-    echo "<p>This file is not translated into ".get_lang_name($lang).".</p>\n";
-    echo "<ul><li>If you want to see what resources are in this file, check the "
+    echo "<p>This module is not translated into ".get_lang_name($lang).".</p>\n";
+    echo "<ul><li>If you want to see what resources are in this module, check the "
             .gen_resfile_a($MASTER_LANGUAGE, $resfile)."English (US) version</a>"
-            ." of this file</li>\n";
-    echo "<li>If you want to translate this file you should check the $resfile\n";
-    echo "file in the Wine source tree and make it include a new language file for\n";
+            ." of this module</li>\n";
+    echo "<li>If you want to translate this module you should check the $resfile\n";
+    echo "directory in the Wine source tree and make it include a new language file for\n";
     echo get_lang_name($lang)." (see $WINE_WIKI_TRANSLATIONS for a guide to\n";
     echo "translating)</li>";
     exit();




More information about the wine-cvs mailing list