summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-05 17:08:55 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-05 17:08:55 +0300
commitdf6fb81185bdc4f3ec0dc6cca4fff302d2719b26 (patch)
treec404b0a52158d7a7216116159ff010dc72c97f33 /src
parentd6c2460155fd7ab51481f36930a3d73c032bba29 (diff)
downloadmanaverse-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.tar.gz
manaverse-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.tar.bz2
manaverse-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.tar.xz
manaverse-df6fb81185bdc4f3ec0dc6cca4fff302d2719b26.zip
Fix languages names translation.
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_theme.cpp4
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());
}
};