Route UI labels through the string table
Full build / Import + headless tests (push) Successful in 38s
Full build / Full desktop build + optional release (push) Skipped

Move start menu, settings, pause, Help, HUD, radio, shift review and campaign
labels/templates into content/strings.en.json, including placeholder-validated
dynamic status text. No player-facing hardcoded labels remain outside dynamic
data/debug output. Headless 250/250, docs check OK.
This commit is contained in:
zwitschi committed 2026-11-02 11:25:15 +01:00
1 parent 3a74cedee0
commit af923b1483
10 files changed
+179 -89

No files matched your search

+88 -1
View File
@@ -110,5 +110,92 @@
"ui.review_return_menu": "Return to menu",
"ui.quit_game": "Quit game",
"ui.apply_settings": "Apply settings",
"tutorial.skipped": "Tutorial skipped."
"tutorial.skipped": "Tutorial skipped.",
"ui.settings_title": "Settings",
"ui.settings_invert": "Invert vertical look",
"ui.settings_head_bob": "Head bob and camera motion",
"ui.settings_difficulty": "Difficulty / pacing",
"ui.settings_reduce_motion": "Reduce motion",
"ui.settings_captions": "Captions / subtitles",
"ui.settings_replay": "Replay tutorial",
"ui.settings_reset_campaign": "Reset campaign",
"ui.settings_controls_help": "Controls (click a binding, then press a key or pad button)",
"ui.settings_cancel": "Cancel",
"ui.settings_reset_confirm": "Clear campaign progress and start again from the Hollywood shift?",
"ui.settings_press": "Press…",
"ui.pause_title": "Paused",
"ui.pause_resume": "Resume",
"ui.pause_restart": "Restart shift",
"ui.pause_settings": "Settings",
"ui.pause_menu": "Quit to menu",
"ui.pause_hint": "Esc resumes",
"ui.help_title": "Help",
"ui.help_filter": "Filter controls…",
"ui.help_close": "Close",
"help.control_move": "Movement: W/A/S/D · mouse look · Shift precision walk",
"help.control_focus": "Focus: crosshair cone · Tab / mouse wheel cycles nearby people",
"help.control_wheel": "Action wheel: Space or left click · A/D or arrows step · Space confirms",
"help.control_access": "Inspect access: E · Wand: C · Polite direction: Q",
"help.control_escalate": "Warning: 4 · Blocking: 5 · Security radio: 6",
"help.control_emergency": "Emergency radio: R, hold the on-screen button to confirm",
"help.control_tools": "Body camera: B · Flashlight: G · Door lock: L",
"help.control_misc": "Pause: Esc · Debug overlay: F",
"ui.start_title": "GIG LINE",
"ui.start_subtitle": "Pick a venue to start your shift.",
"ui.start_help": "Help",
"ui.start_settings": "Settings",
"ui.start_hint": "Up/Down to choose, Enter to start, Esc to quit",
"ui.campaign_complete": "Campaign complete — pick any venue for a free shift.",
"ui.campaign_status": "Campaign shift %d · next: %s",
"ui.continue_shift": "Continue shift — %s",
"ui.campaign_complete_short": "Campaign complete",
"ui.radio_location_placeholder": "Location (e.g. front steps)",
"ui.radio_location_default": "front entrance",
"ui.radio_description_placeholder": "Describe the person and behavior",
"ui.radio_weapon": "Weapon seen",
"ui.radio_danger": "Danger level: ",
"ui.radio_cancel": "Cancel",
"ui.radio_target": "Target: %s",
"ui.radio_title_emergency": "EMERGENCY RADIO",
"ui.radio_title_assist": "RADIO DISPATCH",
"hud.mode": "Door: %s · Light: %s",
"hud.door_locked": "LOCKED",
"hud.door_open": "open",
"hud.light_on": "on",
"hud.light_off": "off",
"hud.rec": "REC",
"hud.cam_clock": "SHIFT %02d:%02d:%02d",
"hud.shift_status": "shift %02d:%02d phase %s\\nrep %.0f crowd %.0f%%",
"hud.inspect_text": "ACCESS INSPECTION\\n\\nAccess check — %s\\nGranted: %s",
"hud.wand_text": "Wand check — %s\\nAlert: %s",
"hud.yes": "YES",
"hud.no": "NO",
"hud.wand_none": "none",
"review.title": "Shift Review",
"review.venue": "Venue: %s",
"review.policy": "Policy: %s",
"review.grade": "Grade: %s Score: %.0f/100",
"review.history": "Shifts on record: %d · best score: %.0f · grades seen: %s",
"review.incidents": "Incidents handled: %d (peaceful %d)",
"review.npcs": "NPCs encountered: %d",
"review.radio": "Radio battery: %.0f%% emergency cooldown: %.0fs",
"review.crowd": "Crowd mood: %.0f%% (panic: %s)",
"review.highlights": "Highlights:",
"review.modifier": " %s (%s) %s",
"review.continue_campaign": "Continue campaign",
"review.campaign_complete": "Campaign complete. Free-play venues remain available.",
"review.campaign_next": "Campaign shift %d complete · next: %s",
"venue.hollywood.label": "Hollywood Boulevard",
"venue.hollywood.blurb": "Building entrance, tourists and late-night trouble.",
"venue.joke.label": "The Joke Shop",
"venue.joke.blurb": "Guest list, IDs and wand screening.",
"venue.studio.label": "Late Night TV Studio",
"venue.studio.blurb": "Credentials, filming boundary, celebrity arrivals.",
"hud.reasons": "Reasons: %s",
"hud.issues": "Issues: %s",
"hud.wand_suspicious": "The wand alerts on a suspicious item (%s).",
"hud.wand_ask": "Ask the guest to identify it before deciding.",
"hud.wand_harmless": "The wand alerts on a harmless item (%s).",
"hud.wand_false": "Likely a false alarm — keys, belt, or phone.",
"hud.wand_clear": "No alert. The guest appears clear."
}