Mercurial > projects > mde
diff mde/i18n/I18nTranslation.d @ 16:9cb7b9310168
Improvements to Options and Init.
Revamped Options with sections and auto saving/loading.
Moved some of init's functions outside the module.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 15 Mar 2008 11:56:13 +0000 |
parents | 4608be19ebe2 |
children | 5f90774ea1ef |
line wrap: on
line diff
--- a/mde/i18n/I18nTranslation.d Fri Mar 14 11:39:45 2008 +0000 +++ b/mde/i18n/I18nTranslation.d Sat Mar 15 11:56:13 2008 +0000 @@ -79,9 +79,9 @@ { bool[ID] loadedSecs; // set of all locales/sections loaded; used to prevent circular loading ID[] secsToLoad // locales/sections to load (dependancies may be added) - = [cast(ID) options.L10n]; // start by loading the current locale + = [cast(ID) Options.misc.L10n]; // start by loading the current locale - I18nTranslation transl = new I18nTranslation (name, options.L10n); + I18nTranslation transl = new I18nTranslation (name, Options.misc.L10n); IReader reader; try {