Working on translations

This commit is contained in:
Vladislav Khorev committed 2026-07-07 11:24:21 +03:00
1 parent 9d8ca865c7
commit e2d9105b02
18 files changed
+271 -88

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ class QuestJournal : public ZL::ISaveable {
public:
bool loadFromFile(const std::string& path, const std::string& zipFile = "");
// Reloads quest definitions (e.g. after a language switch) while
// preserving current progress: snapshots status/objective state, reloads
// definitions from path, then re-applies the snapshot.
bool reloadDefinitionsPreservingState(const std::string& path, const std::string& zipFile = "");
void save(nlohmann::json& out) const override;
void load(const nlohmann::json& in) override;