diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-23 21:10:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-23 21:10:27 +0300 |
commit | ec5a45824c26921c12a1a90dfe541c2e59421e7b (patch) | |
tree | 7443abd5e6710bb5abdf4ef2f78af04d9fdb920b /src/gui | |
parent | 06ffa695ca77de549520fa03c500c7d88f21c0c4 (diff) | |
download | plus-ec5a45824c26921c12a1a90dfe541c2e59421e7b.tar.gz plus-ec5a45824c26921c12a1a90dfe541c2e59421e7b.tar.bz2 plus-ec5a45824c26921c12a1a90dfe541c2e59421e7b.tar.xz plus-ec5a45824c26921c12a1a90dfe541c2e59421e7b.zip |
eathena: if skill fail, show errorText from skill.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 1fb07e37d..0fa3e6bbb 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -448,7 +448,7 @@ void SkillDialog::addSkill(const SkillOwner::Type owner, skill->sp = sp; skill->update(); skill->useButton = _("Use"); - skill->errorText = name; + skill->errorText = strprintf(_("Failed skill: %s"), name.c_str()); mDefaultModel->addSkill(skill); mSkills[id] = skill; |