Update UI text labels for consistency and internationalization; refactor HUD text handling

This commit is contained in:
2025-05-25 14:49:49 +02:00
parent 85f33e4cbe
commit 25676db130
16 changed files with 109 additions and 40 deletions

View File

@@ -41,7 +41,7 @@ theme_override_constants/separation = 16
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "game over"
text = "GAME_OVER"
horizontal_alignment = 1
uppercase = true
@@ -51,10 +51,10 @@ layout_mode = 2
[node name="RestartLevelButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "RESTART LEVEL"
text = "RESTART_LEVEL_BUTTON"
flat = true
[node name="MenuButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "GO TO MENU"
text = "GO_TO_MENU_BUTTON"
flat = true