summaryrefslogtreecommitdiff
path: root/src/gui/popups/skillpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/skillpopup.cpp')
-rw-r--r--src/gui/popups/skillpopup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/skillpopup.cpp b/src/gui/popups/skillpopup.cpp
index 846139863..68fb42454 100644
--- a/src/gui/popups/skillpopup.cpp
+++ b/src/gui/popups/skillpopup.cpp
@@ -113,8 +113,8 @@ void SkillPopup::show(const SkillInfo *const skill,
mSkillEffect->setTextWrapped(effect, 196);
if (level != 0)
{
- // TRANSLATORS: skill level
mSkillLevel->setTextWrapped(strprintf(
+ // TRANSLATORS: skill level
_("Level: %d / %d"), level, skill->level),
196);
}
@@ -122,15 +122,15 @@ void SkillPopup::show(const SkillInfo *const skill,
{
if (skill->level != 0)
{
- // TRANSLATORS: skill level
mSkillLevel->setTextWrapped(strprintf(
+ // TRANSLATORS: skill level
_("Level: %d"), skill->level),
196);
}
else
{
- // TRANSLATORS: skill level for tmw fake skills
mSkillLevel->setTextWrapped(
+ // TRANSLATORS: skill level for tmw fake skills
_("Level: Unknown"),
196);
}