summaryrefslogtreecommitdiff
path: root/src/net/ea/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-26 13:35:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-26 13:35:24 +0300
commit5190fe2cdac7c259d96619e4686f8543bdc96af4 (patch)
tree3a49895b4371fcd58a2446c0b3b0128ca1933568 /src/net/ea/skillhandler.cpp
parentd4febba47388979b26cd4680cb8a6f20e548e399 (diff)
downloadmv-5190fe2cdac7c259d96619e4686f8543bdc96af4.tar.gz
mv-5190fe2cdac7c259d96619e4686f8543bdc96af4.tar.bz2
mv-5190fe2cdac7c259d96619e4686f8543bdc96af4.tar.xz
mv-5190fe2cdac7c259d96619e4686f8543bdc96af4.zip
Improve string usage in other files.
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r--src/net/ea/skillhandler.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp
index 5a7268a6e..35a809ac9 100644
--- a/src/net/ea/skillhandler.cpp
+++ b/src/net/ea/skillhandler.cpp
@@ -176,43 +176,43 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg)
break;
}
- txt += " ";
+ txt.append(" ");
switch (reason)
{
case RFAIL_SKILLDEP:
- txt += _("You have not yet reached a high enough lvl!");
+ txt.append(_("You have not yet reached a high enough lvl!"));
break;
case RFAIL_INSUFHP:
- txt += _("Insufficient HP!");
+ txt.append(_("Insufficient HP!"));
break;
case RFAIL_INSUFSP:
- txt += _("Insufficient SP!");
+ txt.append(_("Insufficient SP!"));
break;
case RFAIL_NOMEMO:
- txt += _("You have no memos!");
+ txt.append(_("You have no memos!"));
break;
case RFAIL_SKILLDELAY:
- txt += _("You cannot do that right now!");
+ txt.append(_("You cannot do that right now!"));
break;
case RFAIL_ZENY:
- txt += _("Seems you need more money... ;-)");
+ txt.append(_("Seems you need more money... ;-)"));
break;
case RFAIL_WEAPON:
- txt += _("You cannot use this skill with that "
- "kind of weapon!");
+ txt.append(_("You cannot use this skill with that "
+ "kind of weapon!"));
break;
case RFAIL_REDGEM:
- txt += _("You need another red gem!");
+ txt.append(_("You need another red gem!"));
break;
case RFAIL_BLUEGEM:
- txt += _("You need another blue gem!");
+ txt.append(_("You need another blue gem!"));
break;
case RFAIL_OVERWEIGHT:
- txt += _("You're carrying to much to do this!");
+ txt.append(_("You're carrying to much to do this!"));
break;
default:
- txt += _("Huh? What's that?");
+ txt.append(_("Huh? What's that?"));
logger->log("QQQ SMSG_SKILL_FAILED: reason "
+ toString(reason));
break;