feat/cmd-output-l10n · PurpleFuchs · 6 Dateien · +173 −48 · 2026-10-28
Card d2f0b3.
DrawLineOfText gains a RawText flag. Stored log lines are display-final and must not re-run LocaleManager.Get every frame - a stored string that happens to equal a locale key silently swaps at draw time (e.g. a save name matching a key). Both chat draw sites (active DrawChatWindow, collapsed ChatWindow overlay) pass RawText=true.
CommandParser wraps all user-facing output in L_Get at emission: concat fragments become %s/%d format keys, command descriptions localize inside the /help output. 58 new keys in English.lua + German.lua.
Note: the "Command error:" literal on PR #1323 (pcall dispatch) gets the same L_Get wrap once both merge - flagged, not a blocker.
Verified: per-file luajit clean.
| Source/Data/Locale/English.lua | geändert | +58 −0 |
| Source/Data/Locale/German.lua | geändert | +58 −0 |
| Source/GuiElements/Chat/DrawChatWindow.lua | geändert | +1 −1 |
| Source/GuiElements/DrawLineOfText.lua | geändert | +7 −2 |
| Source/Libraries/Commands/CommandParser.lua | geändert | +47 −44 |
| Source/Objects/Gui/ChatWindow.lua | geändert | +2 −1 |