mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
All spell texts are now passed through translator
This commit is contained in:
@ -1663,7 +1663,7 @@ std::string CGShrine::getHoverText(PlayerColor player) const
|
||||
if(wasVisited(player))
|
||||
{
|
||||
hoverName += "\n" + VLC->generaltexth->allTexts[355]; // + (learn %s)
|
||||
boost::algorithm::replace_first(hoverName,"%s", spell.toSpell()->name);
|
||||
boost::algorithm::replace_first(hoverName,"%s", spell.toSpell()->getNameTextID());
|
||||
}
|
||||
return hoverName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user