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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user