diff options
| author | tpart <tpart120@proton.me> | 2024-09-19 15:27:18 +0200 | 
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-09-19 15:27:18 +0200 | 
| commit | 8f89c3b445ff491e9c799693e7b118f4d492b05b (patch) | |
| tree | 282f2cb980e176fd6eadb04650b6629f9a993ee6 /client/game.gd | |
| parent | bea768be2ac70564f39afc0bbec28453a02eb0aa (diff) | |
| download | hurrycurry-8f89c3b445ff491e9c799693e7b118f4d492b05b.tar hurrycurry-8f89c3b445ff491e9c799693e7b118f4d492b05b.tar.bz2 hurrycurry-8f89c3b445ff491e9c799693e7b118f4d492b05b.tar.zst  | |
Clarify server error messages
Diffstat (limited to 'client/game.gd')
| -rw-r--r-- | client/game.gd | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd index 80a8177c..8da5182a 100644 --- a/client/game.gd +++ b/client/game.gd @@ -228,8 +228,8 @@ func handle_packet(p):  			var mstr := get_message_str(p.message)  			if p.error:  				# TODO: Custom popup message style for errors -				popup_message.display_server_msg(mstr) -				push_error("Server error: %s" % mstr) +				popup_message.display_server_msg(tr("c.error.server") % mstr) +				push_error(tr("c.error.server") % mstr)  			else:  				popup_message.display_server_msg(mstr)  		"server_hint":  |