fix: localize active HUD journal events
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user