diff data/L10n/en-GB.mtt @ 112:fe061009029d

EnumContent; log level can be selected from a popup list. New EnumContent, with code to load translations in Items. Editable as an AStringContent. Hacked OptionsMisc to use an EnumContent. Implemented a EnumContentWidget providing a pop-up list to select from (still needs improving). Moved IContent to its own module. ContentExceptions thrown via WDCCheck now. Fixed a small bug with reloading translations.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 13 Dec 2008 12:54:43 +0000
parents 1655693702fc
children 9824bee909fd
line wrap: on
line diff
--- a/data/L10n/en-GB.mtt	Sat Dec 06 17:41:42 2008 +0000
+++ b/data/L10n/en-GB.mtt	Sat Dec 13 12:54:43 2008 +0000
@@ -11,7 +11,13 @@
 {MiscOptions}
 <entry|MiscOptions={0:"Miscellaneous options"}>
 <entry|maxThreads={0:"Max threads",1:"Maximum number of threads to use in mde (currently only applies to init stages run in parallel)."}>
-<entry|logLevel={0:"Logging level",1:"Lowest level to log messages; 0=trace, 1=info (default), 2=warn, 3=error, 4=fatal, 5=none."}>
+<entry|logLevel={0:"Logging level",1:"Log messages of this level and higher."}>
+<entry|logLevel.Trace={0:"Trace"}>
+<entry|logLevel.Info={0:"Info"}>
+<entry|logLevel.Warn={0:"Warn"}>
+<entry|logLevel.Error={0:"Error"}>
+<entry|logLevel.Fatal={0:"Fatal"}>
+<entry|logLevel.None={0:"None"}>
 <entry|logOutput={0:"Logging output",1:"Output to: 0=nowhere, 1=the console, 2=a file, 3=both"}>
 <entry|L10n={0:"Localisation",1:"Specifies the language to use."}>
 <entry|pollInterval={0:"Polling interval",1:"Delay in main loop to limit CPU usage"}>