1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

All creature-related texts go through translator

This commit is contained in:
Ivan Savenko
2023-01-02 18:00:51 +02:00
parent fa6f7513e8
commit d2b837b116
33 changed files with 138 additions and 100 deletions

View File

@@ -145,7 +145,7 @@ std::string CBonusTypeHandler::bonusToString(const std::shared_ptr<Bonus> & bonu
else if(name == "subtype.creature")
{
const CreatureID cre(bonus->subtype);
return cre.toCreature()->namePl;
return cre.toCreature()->getNamePluralTranslated();
}
else if(name == "subtype.spell")
{