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
@@ -71,7 +71,7 @@ func test_live_enemy_attack_is_intercepted_in_support_and_companion_death_leaves
assert_eq(state.player.hit_points, state.player.max_hit_points)
assert_false(companion.is_alive())
assert_not_null(game.get_node_or_null("World/Companion"))
assert_string_contains((game.get_node("HUD/EventLog") as RichTextLabel).get_parsed_text(), "companion")
assert_string_contains((game.get_node("HUD/EventLog") as RichTextLabel).get_parsed_text(), "Votre familier tombe")
func _dispatch_key(keycode: Key) -> void:
Input.parse_input_event(_key_event(keycode, true))