1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Names for object supertypes are passed through translator

This commit is contained in:
Ivan Savenko
2022-12-30 19:18:31 +02:00
parent 25ef065dbe
commit c5f72ccdc7
3 changed files with 40 additions and 12 deletions

View File

@@ -160,6 +160,7 @@ class DLL_LINKAGE CGeneralTextHandler
/// Attempts to detect encoding & language of H3 files
void detectInstallParameters() const;
public:
/// Loads translation from provided json
/// Any entries loaded by this will have priority over texts registered normally
void loadTranslationOverrides(JsonNode const & file);