Translate level title and creator on-the-fly

These weren't getting updated when cycling language with CTRL+F8. This
is because they would be already baked. Luckily, at least the bool
keeping track of whether or not to translate them in the first place
already exists, so we can just rely on that.
This commit is contained in:
Misa authored and Misa Elizabeth Kai committed 2024-02-02 18:57:24 -08:00
1 parent 0aea27f237
commit 53ed33039f
5 files changed
+52 -31

No files matched your search

+2 -2
View File
@@ -171,9 +171,9 @@ public:
bool onewaycol_override;
};
std::string translate_title(const std::string& title, bool* is_gettext);
bool translate_title(const std::string& title);
std::string translate_creator(const std::string& creator, bool* is_gettext);
bool translate_creator(const std::string& creator);
#ifndef CL_DEFINITION
extern customlevelclass cl;