summaryrefslogtreecommitdiff
path: root/src/gui/widgets/characterdisplay.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/widgets/characterdisplay.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/widgets/characterdisplay.cpp')
-rw-r--r--src/gui/widgets/characterdisplay.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp
index bb46f5d65..b74ec842f 100644
--- a/src/gui/widgets/characterdisplay.cpp
+++ b/src/gui/widgets/characterdisplay.cpp
@@ -130,9 +130,13 @@ void CharacterDisplay::mouseMoved(MouseEvent &event A_UNUSED)
const std::string &name = mName->getCaption();
if (!name.empty())
{
- textPopup->show(mouseX, mouseY, name, strprintf(_("Level: %u"),
+ textPopup->show(mouseX, mouseY,
+ name,
+ // TRANSLATORS: character level
+ strprintf(_("Level: %u"),
static_cast<uint32_t>(
mCharacter->data.mAttributes[Attributes::LEVEL])),
+ // TRANSLATORS: character money
strprintf(_("Money: %s"), Units::formatCurrency(
mCharacter->data.mAttributes[Attributes::MONEY]).c_str()));
}