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
+1 -1
View File
@@ -40,7 +40,7 @@ func test_combat_routes_damage_feedback_and_exposes_current_target_summary() ->
assert_eq(hud.get_node("EnemyHealthLabel").text, "Aucune cible active")
assert_eq(_visible_text_occurrences(hud, "Aucune cible active"), 1, "The no-target state must have one visible string, never a duplicate")
assert_eq(_visible_text_occurrences(hud, "No active target"), 0, "The no-target state must never expose the English fallback")
assert_string_contains(hud.event_log.get_parsed_text(), "with mains nues")
assert_string_contains(hud.event_log.get_parsed_text(), "Vous frappez le gobelin avec mains nues")
func _visible_text_occurrences(hud: GameHud, needle: String) -> int:
var occurrences := 0