1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

VCMI will now check whether translations are complete

This commit is contained in:
Ivan Savenko
2023-02-09 19:15:39 +02:00
parent 623cae7d47
commit f57a77c2fe
4 changed files with 99 additions and 26 deletions

View File

@ -286,6 +286,8 @@ class DLL_LINKAGE CModHandler
void loadMods(std::string path, std::string parent, const JsonNode & modSettings, bool enableMods);
void loadOneMod(std::string modName, std::string parent, const JsonNode & modSettings, bool enableMods);
void loadTranslation(TModID modName);
bool validateTranslations(TModID modName) const;
public:
/// returns true if scope is reserved for internal use and can not be used by mods