From bea768be2ac70564f39afc0bbec28453a02eb0aa Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 19 Sep 2024 15:22:24 +0200 Subject: Fix duplicate translations; Translate join, spectate, leave --- client/menu/ingame.gd | 4 ++-- client/menu/lobby.gd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'client/menu') 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: -- cgit v1.2.3-70-g09d2