mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-09 23:38:09 +00:00
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
18 lines
451 B
Plaintext
18 lines
451 B
Plaintext
<rml>
|
|
<head>
|
|
<title>Help & Options</title>
|
|
<link type="text/rcss" href="HelpOptions.rcss"/>
|
|
</head>
|
|
<body>
|
|
<div id="help_options_menu">
|
|
<div id="buttons">
|
|
<button id="change_skin">{IDS_CHANGE_SKIN}</button>
|
|
<button id="how_to_play">{IDS_HOW_TO_PLAY}</button>
|
|
<button id="controls">{IDS_CONTROLS}</button>
|
|
<button id="settings">{IDS_SETTINGS}</button>
|
|
<button id="credits">{IDS_CREDITS}</button>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</rml>
|