[Home]WikiBugs/UploadTranslation

UseModWiki | WikiBugs | RecentChanges | Preferences

Fixed in 1.0.2 --MarkusLude

Upload Translation Bug

Description

The "Upload" form (wiki.pl?action=upload) contains some text that cannot be localized because of missing T()'s.

Patch

--- wiki.pl     2003-09-11 14:21:02.000000000 +0200
+++ UploadTrans.pl      2005-10-03 18:21:30.000000000 +0200
@@ -4911,8 +4911,8 @@
   print '<FORM METHOD="post" ACTION="' . $ScriptName
         . '" ENCTYPE="multipart/form-data">';
   print '<input type="hidden" name="upload" value="1" />';
-  print 'File to Upload: <INPUT TYPE="file" NAME="file"><br><BR>';
-  print '<INPUT TYPE="submit" NAME="Submit" VALUE="Upload">';
+  print T('File to Upload:'), ' <INPUT TYPE="file" NAME="file"><br><BR>';
+  print '<INPUT TYPE="submit" NAME="Submit" VALUE="', T('Upload'), '">';
   print '</FORM>';
   print &GetCommonFooter();
 }
-- UngarPeter

Thanks. Fixed for 1.0.2. -- MarkusLude


UseModWiki | WikiBugs | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited August 30, 2007 6:51 pm by MarkusLude (diff)
Search: