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

ddts-script 0.4.1



Bonjour,

le journal des modifications :
version 0.4.1
  - bug fix:
    - add: don't compare translations if bug reports a description change
      thanks to Philippe trbich for reporting this bug
    - change: typo in changelog

La rustine est attachée, le script ici :
http://perso.wanadoo.fr/nico.bertol/ddts/ddts-script.txt


Nicolas
-- 
--- ddts-script_0.4.txt	Tue Dec 11 21:36:33 2001
+++ ddts-script_0.4.1.txt	Sat Dec 15 20:25:26 2001
@@ -268,7 +268,7 @@
 
 =cut
 
-my $version = "0.4";
+my $version = "0.4.1";
 
 # Test if configuration as been made
 foreach ($tr_dir, $bug_dir, $rev_dir, $temp_dir) {
@@ -835,7 +835,7 @@
 	$debug>3 && print "    langage:      $langage\n";
 	$debug>3 && print "    message id:   $message_id\n";
 
-	unless (&uncomment($review, "^#") eq $translation) {
+	if ($translation && (&uncomment($review, "^#") ne $translation)) {
 		$debug>2 && print "    WARNING: review has not been sent in the script format\n";
 		            warn      "WARNING: review has not been sent in the script format for `$package'\n";
 		my $original = &uncomment($translation, "# ");

Reply to: