summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-16 22:30:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-16 22:33:53 +0300
commit66f684799ad742d6214a6e3e9107219bef48b3f0 (patch)
treee1bea633a5aac0666525d443e036b9f03e76c727 /src
parent12a4de59d148ae3b912003dac715fd82ae6f0903 (diff)
downloadplus-66f684799ad742d6214a6e3e9107219bef48b3f0.tar.gz
plus-66f684799ad742d6214a6e3e9107219bef48b3f0.tar.bz2
plus-66f684799ad742d6214a6e3e9107219bef48b3f0.tar.xz
plus-66f684799ad742d6214a6e3e9107219bef48b3f0.zip
Show in skill popup also description.
Diffstat (limited to 'src')
-rw-r--r--src/gui/skilldialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index a7f60244d..992877671 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -186,7 +186,7 @@ class SkillListBox final : public ListBox
return;
mPopup->show(viewport->getMouseX(), viewport->getMouseY(),
- skill->data->dispName);
+ skill->data->dispName, skill->data->description);
}
void mouseExited(gcn::MouseEvent &event A_UNUSED)
@@ -408,7 +408,7 @@ void SkillDialog::loadSkills()
skill->id = 1;
skill->data->name = _("basic");
skill->data->description = "";
- skill->data->dispName = _("Skill: basic, Id: 1");
+ skill->data->dispName = _("basic, 1");
skill->data->shortName = "bas";
skill->data->setIcon("");
skill->modifiable = true;
@@ -480,7 +480,7 @@ void SkillDialog::loadSkills()
data->name = name;
data->setIcon(icon);
- data->dispName = strprintf(_("Skill: %s, Id: %d"),
+ data->dispName = strprintf("%s, %d",
name.c_str(), skill->id);
data->shortName = XML::langProperty(node,
"shortName", name.substr(0, 3));