aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-19 15:22:24 +0200
committertpart <tpart120@proton.me>2024-09-19 15:22:24 +0200
commitbea768be2ac70564f39afc0bbec28453a02eb0aa (patch)
treeb53f26399dbfaea47dc49a8a768cfb3388336bd8 /client
parentbf5ad55c1df19b8e8d01e91500f587d71729dac4 (diff)
downloadhurrycurry-bea768be2ac70564f39afc0bbec28453a02eb0aa.tar
hurrycurry-bea768be2ac70564f39afc0bbec28453a02eb0aa.tar.bz2
hurrycurry-bea768be2ac70564f39afc0bbec28453a02eb0aa.tar.zst
Fix duplicate translations; Translate join, spectate, leave
Diffstat (limited to 'client')
-rw-r--r--client/menu/ingame.gd4
-rw-r--r--client/menu/lobby.gd4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/menu/ingame.gd b/client/menu/ingame.gd
index 8a70e55a..7052f237 100644
--- a/client/menu/ingame.gd
+++ b/client/menu/ingame.gd
@@ -86,6 +86,6 @@ func _on_game_left():
func update_button_text():
if game.is_joined:
- leave_button.text = tr("Leave Game")
+ leave_button.text = tr("c.menu.ingame.leave")
else:
- leave_button.text = tr("Join Game")
+ leave_button.text = tr("c.menu.ingame.join")
diff --git a/client/menu/lobby.gd b/client/menu/lobby.gd
index 258d780d..770b2888 100644
--- a/client/menu/lobby.gd
+++ b/client/menu/lobby.gd
@@ -179,10 +179,10 @@ func _on_controller_button_pressed():
func _on_join_spectate_pressed():
if game.is_joined:
game.leave()
- join_spectate.text = tr("Join game")
+ join_spectate.text = tr("c.menu.ingame.join")
elif not game.join_sent:
game.join()
- join_spectate.text = tr("Spectate")
+ join_spectate.text = tr("c.menu.ingame.spectate")
func check_for_music():
if visible: