Bonjour,

Une petite correction.

journal des modifications :
version 0.2.6
  - buf fix:
    - add: missing parentheses

La rustine est attachée, le script et le tarball sont à jour :
http://perso.wanadoo.fr/nico.bertol/l10n-check/l10n-check.txt
http://perso.wanadoo.fr/nico.bertol/l10n-check/l10n-check.tar.bz

Est aussi attachée une mise à jour des règles pour « != ».


Nicolas
-- 
--- l10n-check_0.2.5.txt        Thu Jan 31 19:49:12 2002
+++ l10n-check_0.2.6.txt        Fri Feb  1 09:36:22 2002
@@ -477,7 +477,7 @@
 
 =cut
 
-my $version = "0.2.5";
+my $version = "0.2.6";
 
 # Test if configuration as been made
 my @dir=split("/", $rules_dir);                # get all subdirs
@@ -675,8 +675,8 @@
                }
        }
        $choice = @choices[ord(lc $&)-97] unless defined $choice;       # set 
choice
-       $reason ? $reason = "$comment$choice : $reason" :
-                 $reason = "$comment$choice : $hint";
+       $reason ? ($reason="$comment$choice : $reason") :
+                 ($reason="$comment$choice : $hint") ;
 
        print "$LC>$NC$l$choice$r\n";                           # print fixed 
line
        return ($reason, $l.$choice.$r);                        # comment and 
fixed line

Attachment: rules.tar.gz
Description: Binary data

Répondre à