r417 - in trunk: . scripts

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jan 14 04:27:00 EST 2008


Author: icculus
Date: 2008-01-14 04:26:46 -0500 (Mon, 14 Jan 2008)
New Revision: 417

Modified:
   trunk/archive_tar.c
   trunk/scripts/localization.lua
   trunk/scripts/mojosetup_mainline.lua
Log:
A few more minor localization tweaks and FIXME fixes.


Modified: trunk/archive_tar.c
===================================================================
--- trunk/archive_tar.c	2008-01-14 09:08:47 UTC (rev 416)
+++ trunk/archive_tar.c	2008-01-14 09:26:46 UTC (rev 417)
@@ -483,7 +483,7 @@
 static MojoInput *MojoInput_tar_duplicate(MojoInput *io)
 {
     MojoInput *retval = NULL;
-    fatal("BUG: Can't duplicate tar inputs");  // !!! FIXME: why not?
+    fatal(_("BUG: Can't duplicate tar inputs"));  // !!! FIXME: why not?
 #if 0
     TARinput *input = (TARinput *) io->opaque;
     MojoInput *origio = (MojoInput *) io->opaque;

Modified: trunk/scripts/localization.lua
===================================================================
--- trunk/scripts/localization.lua	2008-01-14 09:08:47 UTC (rev 416)
+++ trunk/scripts/localization.lua	2008-01-14 09:26:46 UTC (rev 417)
@@ -178,6 +178,10 @@
     ["BUG: Unhandled data type"] = {
     };
 
+    -- "tar" is a proper name in this case.
+    ["BUG: Can't duplicate tar inputs"] = {
+    };
+
     -- Buggy config elements:
     -- This is supposed to be a config element ($0) and something that's wrong
     --  with it ($1), such as "BUG: Config Package::description not a string"

Modified: trunk/scripts/mojosetup_mainline.lua
===================================================================
--- trunk/scripts/mojosetup_mainline.lua	2008-01-14 09:08:47 UTC (rev 416)
+++ trunk/scripts/mojosetup_mainline.lua	2008-01-14 09:26:46 UTC (rev 417)
@@ -393,7 +393,6 @@
                 -- !!! FIXME: option/package-wide overwrite?
                 allowoverwrite = file.allowoverwrite
                 if not allowoverwrite then
-                    -- !!! FIXME: language and formatting.
                     MojoSetup.loginfo("File '" .. dest .. "' already exists.")
                     local text = MojoSetup.format(_("File '$0' already exists! Replace?"), dest);
                     local ynan = MojoSetup.promptynan(_("Conflict!"), text, true)




More information about the mojosetup-commits mailing list