1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +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

@ -123,7 +123,7 @@ void MetaString::getLocalString(const std::pair<ui8,ui32> &txt, std::string &dst
{
auto spell = SpellID(ser).toSpell(VLC->spells());
if(spell)
dst = spell->getName();
dst = spell->getNameTranslated();
else
dst = "#!#";
}