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 | |
parent | bf5ad55c1df19b8e8d01e91500f587d71729dac4 (diff) | |
download | hurrycurry-bea768be2ac70564f39afc0bbec28453a02eb0aa.tar hurrycurry-bea768be2ac70564f39afc0bbec28453a02eb0aa.tar.bz2 hurrycurry-bea768be2ac70564f39afc0bbec28453a02eb0aa.tar.zst |
Fix duplicate translations; Translate join, spectate, leave
-rw-r--r-- | client/menu/ingame.gd | 4 | ||||
-rw-r--r-- | client/menu/lobby.gd | 4 | ||||
-rw-r--r-- | locale/en.ini | 3 |
3 files changed, 4 insertions, 7 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: diff --git a/locale/en.ini b/locale/en.ini index b9fc04dc..1755464b 100644 --- a/locale/en.ini +++ b/locale/en.ini @@ -32,11 +32,8 @@ c.menu.back=Back c.menu.credits=Credits c.menu.ingame.cancel=Cancel game c.menu.ingame.join=Join game -c.menu.ingame.join2=Join Game c.menu.ingame.leave=Leave game -c.menu.ingame.leave2=Leave Game c.menu.ingame.main_menu=Main menu -c.menu.ingame.main_menu2=Main Menu c.menu.ingame.quit=Quit game c.menu.ingame.reconnect=Reconnect c.menu.ingame.resume=Resume |