mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
All spell texts are now passed through translator
This commit is contained in:
@@ -150,7 +150,7 @@ std::string CBonusTypeHandler::bonusToString(const std::shared_ptr<Bonus> & bonu
|
||||
else if(name == "subtype.spell")
|
||||
{
|
||||
const SpellID sp(bonus->subtype);
|
||||
return sp.toSpell()->name;
|
||||
return sp.toSpell()->getNameTranslated();
|
||||
}
|
||||
else if(name == "MR")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user