Add StringTableNameMap.h with 2312 name-to-ID entries for static mode fallback

This commit is contained in:
Zero
2026-06-12 21:06:16 +02:00
parent 5355394a5a
commit 5f55b271f4
6 changed files with 2389 additions and 3 deletions

View File

@@ -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));
}