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

@@ -33,14 +33,14 @@ func set_coins_label() -> void:
return
#todo: set internationalized text
coins_label.text = "Coins:" + str(game_manager.get_coins())
coins_label.text = tr("COINS") + ": " + str(game_manager.get_coins())
func set_lives_label() -> void:
if not game_manager:
return
lives_label.text = "Lives:" + str(game_manager.get_lives())
lives_label.text = tr("LIVES") + ": " + str(game_manager.get_lives())
func set_health_progressbar() -> void: