diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-05 04:52:43 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-05 04:52:43 +0200 |
commit | 827f91446c550fdf066cb9bec1d6b15ae8662b78 (patch) | |
tree | d75fcab56507f26891787f824cf443a248df6bf8 /src/gui | |
parent | c595f66bc9031fd28e5146a7aaee686b4ecb9c67 (diff) | |
download | plus-827f91446c550fdf066cb9bec1d6b15ae8662b78.tar.gz plus-827f91446c550fdf066cb9bec1d6b15ae8662b78.tar.bz2 plus-827f91446c550fdf066cb9bec1d6b15ae8662b78.tar.xz plus-827f91446c550fdf066cb9bec1d6b15ae8662b78.zip |
Add gettext to missing strings. Update POTFILES.in
and update russian translation.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/charselectdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/login.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index d95930108..da1f59e46 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -433,7 +433,7 @@ void CharacterDisplay::update() mButton->setCaption(_("Choose")); mButton->setActionEventId("use"); mName->setCaption(strprintf("%s", character->getName().c_str())); - mLevel->setCaption(strprintf("Level %d", + mLevel->setCaption(strprintf(_("Level %d"), mCharacter->data.mAttributes[LEVEL])); mMoney->setCaption(Units::formatCurrency( mCharacter->data.mAttributes[MONEY])); diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 997895c95..b6139c6d0 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -53,9 +53,9 @@ std::string LoginDialog::savedPasswordKey = ""; const char *UPDATE_TYPE_TEXT[3] = { - _("Normal"), - _("Auto Close"), - _("Skip"), + N_("Normal"), + N_("Auto Close"), + N_("Skip"), }; class UpdateTypeModel : public gcn::ListModel @@ -74,7 +74,7 @@ public: if (i >= getNumberOfElements() || i < 0) return _("???"); - return UPDATE_TYPE_TEXT[i]; + return gettext(UPDATE_TYPE_TEXT[i]); } }; |