mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-16 15:14:56 +00:00
The UI's language is set per frame from the saved preference (`LauncherUi::logic` calls `i18n::set_current`), and a start that never got a frame has set nothing: `i18n::current()` is still English, so the dialog answered a German user in English. The failure path now reads the saved settings itself (`saved_settings`, the same read a tray start does) and uses the preference as saved. It skips the UI's CJK-font gate on purpose: this dialog is a native one, drawn with the system's own faces, so a language egui could not have drawn is still readable. Verified end to end: with `language:"de"` saved, forcing the Direct3D 12 failure on the 32-bit build shows "ArtCraft Launcher konnte sein Fenster auf Direct3D 12 nicht starten: …". Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>