fix: localize active HUD journal events

This commit is contained in:
goose
2026-10-09 09:31:21 -04:00
parent f1b58935bf
commit dbc53aab71
11 changed files with 117 additions and 20 deletions
@@ -16,4 +16,4 @@ func test_current_game_event_and_hud_remain_available_with_attributes_domain_loa
assert_eq(state.enemies[&"goblin"].hit_points, 3)
assert_true(game.get_run_state().recent_events(2).any(func(event: GameEvent) -> bool: return event.kind == &"melee"))
assert_true(hud.player_health_label.text.contains("PV du joueur :"))
assert_true(hud.event_log.get_parsed_text().contains("You strike the goblin"))
assert_true(hud.event_log.get_parsed_text().contains("Vous frappez le gobelin"))