From 9e1c8b7ab5db33f544305c3b160ca65b6972370f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Jul 2013 13:46:07 +0300 Subject: add ability to show stats from items.xml like strings. --- src/net/eathena/generalhandler.cpp | 12 ++++++------ src/net/tmwa/generalhandler.cpp | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/net') diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index b75044bb3..029b7fcd4 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -99,12 +99,12 @@ GeneralHandler::GeneralHandler() : generalHandler = this; std::vector stats; - stats.push_back(ItemDB::Stat("str", _("Strength %+d"))); - stats.push_back(ItemDB::Stat("agi", _("Agility %+d"))); - stats.push_back(ItemDB::Stat("vit", _("Vitality %+d"))); - stats.push_back(ItemDB::Stat("int", _("Intelligence %+d"))); - stats.push_back(ItemDB::Stat("dex", _("Dexterity %+d"))); - stats.push_back(ItemDB::Stat("luck", _("Luck %+d"))); + stats.push_back(ItemDB::Stat("str", _("Strength %s"))); + stats.push_back(ItemDB::Stat("agi", _("Agility %s"))); + stats.push_back(ItemDB::Stat("vit", _("Vitality %s"))); + stats.push_back(ItemDB::Stat("int", _("Intelligence %s"))); + stats.push_back(ItemDB::Stat("dex", _("Dexterity %s"))); + stats.push_back(ItemDB::Stat("luck", _("Luck %s"))); ItemDB::setStatsList(stats); } diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index fa625b76f..ba8f40551 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -102,17 +102,17 @@ GeneralHandler::GeneralHandler() : std::vector stats; // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("str", _("Strength %+d"))); + stats.push_back(ItemDB::Stat("str", _("Strength %s"))); // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("agi", _("Agility %+d"))); + stats.push_back(ItemDB::Stat("agi", _("Agility %s"))); // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("vit", _("Vitality %+d"))); + stats.push_back(ItemDB::Stat("vit", _("Vitality %s"))); // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("int", _("Intelligence %+d"))); + stats.push_back(ItemDB::Stat("int", _("Intelligence %s"))); // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("dex", _("Dexterity %+d"))); + stats.push_back(ItemDB::Stat("dex", _("Dexterity %s"))); // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("luck", _("Luck %+d"))); + stats.push_back(ItemDB::Stat("luck", _("Luck %s"))); ItemDB::setStatsList(stats); } -- cgit v1.2.3-70-g09d2