diff data/L10n/en-GB.mtt @ 137:9f035cd139c6

BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed. Content restrutured a lot: New IContent module, Content module includes more functionality. New ContentLoader module to manage content loading/saving/translation. Translation module moved to content dir and cut down to reflect current usage. File format unchanged except renames: FontOptions -> Font, VideoOptions -> Screen. Font render mode and LCD filter options are now enums. GUI loading needs to create content (and set type for enums), but doesn't save/load value. Some setup of mainSchedule moved to mde.mainLoop. Content callbacks are called on content change now. ContentLists are set up implicitly from content symbols. Not as fast but much easier! Bug-fix in the new MTTagReader. Renamed MT *Reader maker functions to avoid confusion in paths.d. New mde.setup.logger module to allow logger setup before any other module's static this().
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 07 Feb 2009 12:46:03 +0000
parents 264028f4115a
children 29a524e7c858
line wrap: on
line diff
--- a/data/L10n/en-GB.mtt	Sun Feb 01 12:36:21 2009 +0000
+++ b/data/L10n/en-GB.mtt	Sat Feb 07 12:46:03 2009 +0000
@@ -1,19 +1,25 @@
 {MT01}
 !{en-GB British English}
-{imde}
+{menus}
 <entry|main={0:"File",1:"Main MDE menu"}>
-<entry|quit={0:"Quit"}>
+<entry|main.quit={0:"Quit"}>
 <entry|debug={0:"Debug",1:"Debug-mode menu of debugging functions"}>
-{Options}
-<entry|Options={0:"Options"}>
-{FontOptions}
-<entry|FontOptions={0:"Font options"}>
-<entry|lcdFilter={0:"LCD filtering",1:"Enable or disable sub-pixel rendering. Note that the FreeType library may be compiled without support due to patent issues."}>
-<entry|renderMode={0:"Font rendering mode",1:"Controls how fonts are rendered: in gray-scale, or for LCDs (with a horizontal (usual) or vertical layout, with an RGB (usual) or BGR sub-pixel mode."}>
+<entry|debug.guiDemo={0:"GUI Demo"}>
+{Font}
+<entry|lcdFilter={0:"LCD filtering",1:"Filtering used with LCD rendering."}>
+<entry|lcdFilter.none={0:"None",1:"Leaves big colour fringes."}>
+<entry|lcdFilter.default={0:"Default",1:"Reduces colour fringes but may blur fonts slightly."}>
+<entry|lcdFilter.light={0:"Light",1:"Blurs fonts less than default."}>
+<entry|mode={0:"Font render mode",1:"Controls how fonts are rendered. Your FreeType library may be compiled without support for LCD rendering due to patent issues."}>
+<entry|mode.normal={0:"Normal",1:"The default (gray) render mode"}>
+<entry|mode.light={0:"Light",1:"Rendering is the same as normal but hinting is lighter"}>
+<entry|mode.lcd={0:"LCD (RGB)",1:"For common LCD displays. LCD-rendering may not be supported."}>
+<entry|mode.lcd_v={0:"LCD (vertical, RGB)",1:"For LCDs with vertically stacked sub-pixels."}>
+<entry|mode.lcd_bgr={0:"LCD (BGR)",1:"An alternative sub-pixel ordering used in some LCD displays."}>
+<entry|mode.lcd_bgr_v={0:"LCD (vertical, BGR)"}>
 <entry|defaultFont={0:"Default font",1:"Filename of default font"}>
 <entry|defaultSize={0:"Default size",1:"Size for default font"}>
 {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:"Log messages of this level and higher."}>
 <entry|logLevel.Trace={0:"Trace"}>
@@ -23,11 +29,14 @@
 <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|logOutput.none={0:"None"}>
+<entry|logOutput.console={0:"Console"}>
+<entry|logOutput.file={0:"File"}>
+<entry|logOutput.both={0:"Console and file"}>
+<entry|l10n={0:"Localisation",1:"Specifies the language to use."}>
 <entry|pollInterval={0:"Polling interval",1:"Delay in main loop to limit CPU usage"}>
 <entry|exitImmediately={0:"Exit immediately",1:"Load files and exit immediately, without running main loop (for debugging)"}>
-{VideoOptions}
-<entry|VideoOptions={0:"Video options"}>
+{Screen}
 <entry|fullscreen={0:"Fullscreen",1:"If true use the whole screen, if false use a window."}>
 <entry|hardware={0:"Hardware",1:"Create the video surface in hardware or software memory."}>
 <entry|resizable={0:"Resizable",1:"In windowed mode, allow the window to be resized by the window manager."}>
@@ -36,8 +45,11 @@
 <entry|screenH={0:"Screen height",1:"Vertical resolution (fullscreen mode)."}>
 <entry|windowW={0:"Window width",1:"Horizontal size (windowed mode)."}>
 <entry|windowH={0:"Window height",1:"Vertical size (windowed mode)."}>
-{dynamic}
-<entry|switch={0:"Options"}>
-<entry|switch.misc={0:"Miscellaneous"}>
-<entry|switch.video={0:"Video"}>
-<entry|switch.font={0:"Font"}>
+{}
+<entry|Font={0:"Font options"}>
+<entry|MiscOptions={0:"Miscellaneous options"}>
+<entry|Screen={0:"Video options"}>
+<entry|gui.switch={0:"Options"}>
+<entry|gui.switch.misc={0:"Miscellaneous"}>
+<entry|gui.switch.video={0:"Video"}>
+<entry|gui.switch.font={0:"Font"}>