1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00

All translatable strings now have language identifier

This commit is contained in:
Ivan Savenko
2023-02-09 15:03:49 +02:00
parent 84fa19dadf
commit 623cae7d47
16 changed files with 178 additions and 103 deletions

View File

@ -233,7 +233,7 @@ ObjectClass * CObjectClassesHandler::loadFromJson(const std::string & scope, con
obj->base = json["base"];
obj->id = index;
VLC->generaltexth->registerString(obj->getNameTextID(), json["name"].String());
VLC->generaltexth->registerString(scope, obj->getNameTextID(), json["name"].String());
obj->objects.resize(json["lastReservedIndex"].Float() + 1);