mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 15:58: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
26 lines
707 B
Plaintext
26 lines
707 B
Plaintext
<rml>
|
|
<head>
|
|
<title>Settings</title>
|
|
<link type="text/rcss" href="SettingsMenu.rcss"/>
|
|
</head>
|
|
<body>
|
|
<div id="settings_menu">
|
|
<div id="buttons">
|
|
<button id="options">{IDS_OPTIONS}</button>
|
|
<button id="audio">{IDS_AUDIO}</button>
|
|
<button id="controls">{IDS_CONTROLS}</button>
|
|
<button id="graphics">{IDS_GRAPHICS}</button>
|
|
<button id="ui">{IDS_USER_INTERFACE}</button>
|
|
<button id="reset_defaults">{IDS_RESET_TO_DEFAULTS}</button>
|
|
</div>
|
|
<div id="confirm_dialog">
|
|
<p id="confirm_text">{IDS_RESET_TO_DEFAULTS}</p>
|
|
<div id="confirm_buttons">
|
|
<button id="confirm_no">{IDS_NO}</button>
|
|
<button id="confirm_yes">{IDS_YES}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</rml>
|