diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-05 17:08:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-05 17:08:55 +0300 |
commit | df6fb81185bdc4f3ec0dc6cca4fff302d2719b26 (patch) | |
tree | c404b0a52158d7a7216116159ff010dc72c97f33 | |
parent | d6c2460155fd7ab51481f36930a3d73c032bba29 (diff) | |
download | manaplus-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.tar.gz manaplus-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.tar.bz2 manaplus-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.tar.xz manaplus-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.zip |
Fix languages names translation.
-rw-r--r-- | src/gui/setup_theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp index dbad66081..04d4c5412 100644 --- a/src/gui/setup_theme.cpp +++ b/src/gui/setup_theme.cpp @@ -85,7 +85,7 @@ class ThemesModel : public NamesModel public: ThemesModel() { - mNames.push_back("(default)"); + mNames.push_back(gettext("(default)")); Theme::fillSkinsList(mNames); } @@ -172,7 +172,7 @@ public: if (i >= getNumberOfElements() || i < 0) return _("???"); - return LANG_NAME[i].name; + return gettext(LANG_NAME[i].name.c_str()); } }; |