mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 18:16:28 +00:00
Fix translation of attack types in unit description
This commit is contained in:
parent
a530c5d475
commit
809a85151d
@ -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>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user