Extra strings: Add no-translate tag

This commit is contained in:
Jonathan G Rennison
2023-07-30 19:27:29 +01:00
parent ebcf8b336c
commit eb03369a21
3 changed files with 18 additions and 10 deletions

View File

@@ -37,6 +37,7 @@ struct LangString {
Case *translated_case; ///< Cases of the translation.
std::unique_ptr<LangString> chain_before;
std::unique_ptr<LangString> chain_after;
bool no_translate_mode = false;
LangString *default_translation = nullptr;
LangString(const char *name, const char *english, int index, int line);
@@ -57,6 +58,7 @@ struct StringData {
LangString *insert_before = nullptr;
LangString *insert_after = nullptr;
bool override_mode = false;
bool no_translate_mode = false;
LangString *default_translation = nullptr;
StringData(size_t tabs);