mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-09 21:28:39 +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
25 lines
783 B
JSON
25 lines
783 B
JSON
{
|
|
"version": 5,
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"generator": "Ninja Multi-Config",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "windows64",
|
|
"displayName": "Windows64",
|
|
"inherits": "base",
|
|
"cacheVariables": {
|
|
"PLATFORM_DEFINES": "_WINDOWS64",
|
|
"PLATFORM_NAME": "Windows64",
|
|
"IGGY_LIBS": "iggy_w64.lib;iggyperfmon_w64.lib;iggyexpruntime_w64.lib"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{ "name": "windows64-debug", "displayName": "Windows64 - Debug", "configurePreset": "windows64", "configuration": "Debug" },
|
|
{ "name": "windows64-release", "displayName": "Windows64 - Release", "configurePreset": "windows64", "configuration": "Release" }
|
|
]
|
|
} |