summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-04 15:44:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-04 16:24:42 +0300
commitbc2c095db69be01837d07af1151b0f0a3061713f (patch)
tree98009b4483d873f45f7b4f2897a4a7ba5118d39e /src/gui/windows/inventorywindow.cpp
parent9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff)
downloadplus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz
plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2
plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz
plus-bc2c095db69be01837d07af1151b0f0a3061713f.zip
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 8b5e69708..f1b76a2d1 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -693,6 +693,7 @@ void InventoryWindow::mouseMoved(MouseEvent &event)
const Rect &rect = mDimension;
if (src == mSlotsBar || src == mWeightBar)
{
+ // TRANSLATORS: money label
textPopup->show(rect.x + x, rect.y + y, strprintf(_("Money: %s"),
Units::formatCurrency(PlayerInfo::getAttribute(
Attributes::MONEY)).c_str()));
@@ -777,6 +778,7 @@ void InventoryWindow::updateButtons(const Item *item)
if (str.empty())
{
mUseButton->setEnabled(false);
+ // TRANSLATORS: default use button name
mUseButton->setCaption(_("Use"));
}
else