Localisation, using Locale class

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@113 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-12 16:09:05 +00:00
parent c2a03bc445
commit ca42f31ccc
24 changed files with 540 additions and 40 deletions
+2
View File
@@ -89,6 +89,7 @@ Settings::Settings()
, card_notes_height (40)
, updates_url (_("http://magicseteditor.sourceforge.net/updates"))
, check_updates (CHECK_IF_CONNECTED)
, locale (_("en"))
{}
void Settings::addRecentFile(const String& filename) {
@@ -147,6 +148,7 @@ String Settings::settingsFile() {
IMPLEMENT_REFLECTION(Settings) {
tag.addAlias(300, _("style settings"), _("stylesheet settings"));
tag.addAlias(300, _("default style settings"), _("default stylesheet settings"));
REFLECT(locale);
REFLECT(recent_sets);
REFLECT(set_window_maximized);
REFLECT(set_window_width);