diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:51:43 +0300 |
commit | a7c723b681ddefdcaa84cb9b16681c65818d7110 (patch) | |
tree | 3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/outfitwindow.cpp | |
parent | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff) | |
download | manaverse-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz manaverse-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2 manaverse-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz manaverse-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip |
add comments for translators
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index f43f1ba54..281355a58 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -55,17 +55,25 @@ float OutfitWindow::mAlpha = 1.0; OutfitWindow::OutfitWindow(): + // TRANSLATORS: outfits window name Window(_("Outfits"), false, nullptr, "outfits.xml"), gcn::ActionListener(), + // TRANSLATORS: outfits window button mPreviousButton(new Button(this, _("<"), "previous", this)), + // TRANSLATORS: outfits window button mNextButton(new Button(this, _(">"), "next", this)), + // TRANSLATORS: outfits window button mEquipButtom(new Button(this, _("Equip"), "equip", this)), + // TRANSLATORS: outfits window label mCurrentLabel(new Label(this, strprintf(_("Outfit: %d"), 1))), + // TRANSLATORS: outfits window checkbox mUnequipCheck(new CheckBox(this, _("Unequip first"), serverConfig.getValueBool("OutfitUnequip0", true))), + // TRANSLATORS: outfits window checkbox mAwayOutfitCheck(new CheckBox(this, _("Away outfit"), serverConfig.getValue("OutfitAwayIndex", OUTFITS_COUNT - 1))), mCurrentOutfit(0), + // TRANSLATORS: outfits window label mKeyLabel(new Label(this, strprintf(_("Key: %s"), keyName(mCurrentOutfit).c_str()))), mBoxWidth(33), @@ -542,11 +550,13 @@ void OutfitWindow::previous() void OutfitWindow::showCurrentOutfit() { + // TRANSLATORS: outfits window label mCurrentLabel->setCaption(strprintf(_("Outfit: %d"), mCurrentOutfit + 1)); if (mCurrentOutfit < static_cast<int>(OUTFITS_COUNT)) mUnequipCheck->setSelected(mItemsUnequip[mCurrentOutfit]); else mUnequipCheck->setSelected(false); + // TRANSLATORS: outfits window label mKeyLabel->setCaption(strprintf(_("Key: %s"), keyName(mCurrentOutfit).c_str())); mAwayOutfitCheck->setSelected(mAwayOutfit == mCurrentOutfit); |