mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 15:09:18 +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
33 lines
973 B
Plaintext
33 lines
973 B
Plaintext
<rml>
|
|
<head>
|
|
<title>Pause Menu</title>
|
|
<link type="text/rcss" href="PauseMenu.rcss"/>
|
|
</head>
|
|
<body>
|
|
<div id="pause_menu">
|
|
<div id="buttons">
|
|
<button id="resume">{IDS_RESUME_GAME}</button>
|
|
<button id="help_options">{IDS_HELP_AND_OPTIONS}</button>
|
|
<button id="achievements">{IDS_ACHIEVEMENTS}</button>
|
|
<button id="save_game">{IDS_SAVE_GAME}</button>
|
|
<button id="exit_game">{IDS_EXIT_GAME}</button>
|
|
</div>
|
|
<div id="exit_dialog">
|
|
<p id="exit_text">{IDS_CONFIRM_EXIT_GAME}</p>
|
|
<div id="exit_buttons">
|
|
<button id="exit_save">{IDS_EXIT_GAME_SAVE}</button>
|
|
<button id="exit_nosave">{IDS_EXIT_GAME_NO_SAVE}</button>
|
|
<button id="exit_cancel">{IDS_CANCEL}</button>
|
|
</div>
|
|
</div>
|
|
<div id="save_dialog">
|
|
<p id="save_text">{IDS_CONFIRM_SAVE_GAME}</p>
|
|
<div id="save_buttons">
|
|
<button id="save_cancel">{IDS_CANCEL}</button>
|
|
<button id="save_confirm">{IDS_CONFIRM_SAVE_GAME}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</rml>
|