Bonjour,

Désolé de poster une nouvelle version ce matin après celle d'hier soir,
mais il semblerait que Grisu ait changé le format des fichiers attaché
sans me prévenir.

journal des modifications :
version 0.4.7
  - add: remove empty and ppart comments when parsing translation (new in
    ddts?)
    thanks to Christian Pierrer for reporting this missing (new?) feature

La rustine est attachée, le script complet n'a pas bougé :
http://perso.wanadoo.fr/nico.bertol/ddts/ddts-script.txt


Nicolas
-- 
--- ddts-script_0.4.6.txt       Tue Jan  8 00:01:49 2002
+++ ddts-script_0.4.7.txt       Tue Jan  8 09:32:18 2002
@@ -277,7 +277,7 @@
 
 =cut
 
-my $version = "0.4.6";
+my $version = "0.4.7";
 
 # Test if configuration as been made
 foreach ($tr_dir, $bug_dir, $rev_dir, $temp_dir) {
@@ -702,6 +702,8 @@
                                $translation .= $1 if (defined $1);
                                $translation .= " $'";
                        }
+                       $translation = &uncomment($translation, '#\s*');        
# remove empty comments
+                       $translation = &uncomment($translation, "# ppart 
translation, please check it! It need your help:");    # remove ppart comments
                        $processed++;
 
                        $debug>4 && print "    translation\n"

Répondre à