[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ddts-script 0.4.8



Bonjour,

Il y a un bogue important dans la version 0.4.7 : lors de l'analyse des
rapport de relecture, il supprime les corrections des relecteurs !

journal des modifications :
version 0.4.8
  - bug fix:
    - change: remove only _empty_ (not all) comments
      thanks to Philippe Trbich for reporting this bug

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.7.txt	Tue Jan  8 09:32:18 2002
+++ ddts-script_0.4.8.txt	Tue Jan  8 18:57:13 2002
@@ -277,7 +277,7 @@
 
 =cut
 
-my $version = "0.4.7";
+my $version = "0.4.8";
 
 # Test if configuration as been made
 foreach ($tr_dir, $bug_dir, $rev_dir, $temp_dir) {
@@ -702,8 +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
+			$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"

Reply to: