r294 - trunk/scripts
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun May 20 04:14:19 EDT 2007
Author: icculus
Date: 2007-05-20 04:14:11 -0400 (Sun, 20 May 2007)
New Revision: 294
Modified:
trunk/scripts/config.lua
Log:
Added some more nested options to example config file for UI testing purposes.
Modified: trunk/scripts/config.lua
===================================================================
--- trunk/scripts/config.lua 2007-05-20 07:50:38 UTC (rev 293)
+++ trunk/scripts/config.lua 2007-05-20 08:14:11 UTC (rev 294)
@@ -143,9 +143,27 @@
Setup.Option
{
value = string.match(MojoSetup.info.locale, "^fr_") ~= nil,
- bytes = megabytes(10),
+ bytes = 0,
description = "French",
- Setup.File { source = "base:///Lang/French.zip" },
+ Setup.OptionGroup
+ {
+ disabled = false,
+ description = "French locale",
+ Setup.Option
+ {
+ value = (MojoSetup.info.locale == fr_CA),
+ bytes = megabytes(10),
+ description = "French Canadian",
+ Setup.File { source = "base:///Lang/FrenchCA.zip" },
+ },
+ Setup.Option
+ {
+ value = (MojoSetup.info.locale ~= fr_CA),
+ bytes = megabytes(10),
+ description = "Generic French",
+ Setup.File { source = "base:///Lang/French.zip" },
+ },
+ },
},
Setup.Option
{
More information about the mojosetup-commits
mailing list