Package: usemod-wiki
Version: 1.0-6
Severity: minor
Tags: patch

Noticed a few typos in some of the error messages usemod produces.


--- wiki.pl     2005-02-16 18:25:56.000000000 +0200
+++ wiki-mod.pl 2006-03-08 15:00:09.280033229 +0200
@@ -2563,7 +2563,7 @@
     return;
   }
   return  if (!$anyExpire);  # No sections expired
-  open (OUT, ">$fname") or die (Ts('cant write %s', $fname) . ": $!");
+  open (OUT, ">$fname") or die (Ts('can\'t write %s', $fname) . ":
$!");
   foreach (@kplist) {
     %tempSection = split(/$FS2/, $_, -1);
     $sectName = $tempSection{'name'};
@@ -2863,7 +2863,7 @@
 sub WriteStringToFile {
   my ($file, $string) = @_;

-  open (OUT, ">$file") or die(Ts('cant write %s', $file) . ": $!");
+  open (OUT, ">$file") or die(Ts('can\'t write %s', $file) . ": $!");
   print OUT  $string;
   close(OUT);
 }
@@ -2871,7 +2871,7 @@
 sub AppendStringToFile {
   my ($file, $string) = @_;

-  open (OUT, ">>$file") or die(Ts('cant write %s', $file) . ": $!");
+  open (OUT, ">>$file") or die(Ts('can\'t write %s', $file) . ": $!");
   print OUT  $string;
   close(OUT);
 }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to