Launcher::L
Constants
FALLBACK = {"errors.source_not_found" => "directory does not exist", "errors.source_soc_none" => "no gamedata.db* archives found (expected the GOG/Steam SoC root with gamedata.db0 … gamedata.dbd)", "errors.source_cs_none" => "no levels/ or resources/ folders and no *.db archives found", "errors.source_cop_none" => "no levels/ or resources/ folders and no gamedata.db* archives found (expected the GOG/Steam CoP root)", "errors.engine_prefix" => "game source: %{message}", "errors.engine_no_binaries" => "engine folder: no OpenXRay binaries found (expected a xray-16 checkout, its bin/x86_64/Release, or an installed prefix)", "errors.engine_no_res" => "engine folder: no binaries to link in %{dir}", "errors.target_exists" => "target %{path} already exists", "errors.target_not_empty" => "target %{path} is not empty", "errors.target_root" => "refusing to install into %{path}", "errors.parent_missing" => "parent folder %{path} does not exist", "errors.no_game_data" => "no game data found in %{source}", "errors.exe_missing" => "%{exe} not found — reinstall the game", "errors.not_registered" => "%{path} is not a registered launcher install — refusing to delete", "errors.refuse_root" => "refusing to delete filesystem root", "errors.already_running" => "another xr-launcher instance is already running — close it first", "errors.already_running" => "another xr-launcher instance is already running — close it first", "install.creating" => "-> creating %{path}", "install.bin_linked" => " bin/: %{n} engine files", "install.assets_linked" => " game data: %{n} entries symlinked", "install.shaders_linked" => " gamedata/shaders/gl: linked to engine", "install.shaders_missing" => " WARNING: engine has no res/gamedata — GL shaders missing", "install.openxray_written" => " gamedata/%{dir}/openxray.ltx: game_mode = %{mode}", "install.fsgame_written" => " fsgame.ltx written", "install.appdata_created" => " _appdata_/{savedgames,logs,screenshots} created", "install.done" => "installed %{title} -> %{path}", "install.failed_rollback" => "FAILED: %{message} — rolling back", "install.removing" => "-> removing %{path}", "install.removed" => "removed %{path}"} of String => String
English fallbacks: what a key renders as before I18n is initialized (headless specs/CLI without locale init) or when a locale file misses the key.
Class methods
t(key : String, **params) : String
Source