mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-18 02:30:50 +00:00
Add StringTableNameMap.h with 2312 name-to-ID entries for static mode fallback
This commit is contained in:
@@ -412,6 +412,10 @@ bool Factory::InstanceElementText(Element* parent, const String& in_text)
|
||||
|
||||
text_element->SetText(text);
|
||||
|
||||
// Store original untranslated text for runtime re-translation support.
|
||||
if (in_text.size() > 2 && in_text[0] == '{')
|
||||
element->SetAttribute("data-rml-source", in_text);
|
||||
|
||||
// Add to active node.
|
||||
parent->AppendChild(std::move(element));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user