1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +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

@@ -51,7 +51,7 @@ GameResID CGResource::resourceID() const
std::string CGResource::getHoverText(PlayerColor player) const
{
return MetaString::createFromTextID(resourceID().toResource()->getNameTextID()).toString();
return resourceID().toResource()->getNameTranslated();
}
void CGResource::pickRandomObject(IGameRandomizer & gameRandomizer)