mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user