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

simplified translation

This commit is contained in:
Laserlicht
2025-09-16 23:11:35 +02:00
parent 5a8f75f11d
commit 4e8556ef64
6 changed files with 17 additions and 17 deletions

View File

@@ -1127,7 +1127,7 @@ void CCastleBuildings::enterFountain(const BuildingID & building, BuildingSubID:
else //Mystic Pond produced something;
{
descr += "\n\n" + hasProduced;
boost::algorithm::replace_first(descr,"%s",MetaString::createFromTextID(GameResID(town->bonusValue.first).toResource()->getNameTextID()).toString());
boost::algorithm::replace_first(descr,"%s",GameResID(town->bonusValue.first).toResource()->getNameTranslated());
boost::algorithm::replace_first(descr,"%d",std::to_string(town->bonusValue.second));
}
}