diff options
Diffstat (limited to 'src/gui/widgets/characterdisplay.cpp')
-rw-r--r-- | src/gui/widgets/characterdisplay.cpp | 6 |
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())); } |