1
0
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:
Ivan Savenko
2023-01-02 00:06:42 +02:00
parent 30d7bdc884
commit 5da407e822
18 changed files with 97 additions and 70 deletions

View File

@@ -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")
{