diff options
author | tpart <tpart120@proton.me> | 2024-09-19 15:22:24 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-09-19 15:22:24 +0200 |
commit | bea768be2ac70564f39afc0bbec28453a02eb0aa (patch) | |
tree | b53f26399dbfaea47dc49a8a768cfb3388336bd8 /client | |
parent | bf5ad55c1df19b8e8d01e91500f587d71729dac4 (diff) | |
download | hurrycurry-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.gd | 4 | ||||
-rw-r--r-- | client/menu/lobby.gd | 4 |
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: |