Fix translation of attack types in unit description

This commit is contained in:
Alexander van Gessel 2011-04-15 22:16:30 +01:00
parent a530c5d475
commit 809a85151d

View File

@ -1548,7 +1548,7 @@ public:
else
color = "green";
std::string lang_weapon = gettext(dam_it->first.c_str());
std::string lang_weapon = string_table["type_" + dam_it->first];
push_tab_pair(row, lang_weapon);
std::stringstream str;
str << "<format>color=" << color << " text='"<< resi << "'</format>";