mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-18 04:40:42 +00:00
Implement RMLUI string translation via LCE StringTable
Replace hardcoded English strings in RML UI files with {IDS_XXX}
placeholders that are translated at runtime via RmlUi's TranslateString
override, which looks up keys in the LCE StringTable.
- Override SystemInterface_Win64::TranslateString to scan for {KEY}
patterns and resolve them via StringTable::getString(wstring)
- Add GetLCEStringTable() accessor to CConsoleMinecraftApp
- Update PauseMenu.rml, SettingsMenu.rml, HelpOptions.rml with IDS_XXX keys
- Update dynamic dialog SetInnerRML calls in UIScene_PauseMenu.cpp
- Fix CMakePresets.json: remove hardcoded VS2022 ml64.exe path
This commit is contained in:
@@ -29,6 +29,7 @@ public:
|
||||
virtual void ReadBannedList(int iPad, eTMSAction action=static_cast<eTMSAction>(0), bool bCallback=false) {}
|
||||
|
||||
C4JStringTable *GetStringTable() { return nullptr;}
|
||||
StringTable *GetLCEStringTable() { return m_stringTable; }
|
||||
|
||||
// original code
|
||||
virtual void TemporaryCreateGameStart();
|
||||
|
||||
Reference in New Issue
Block a user