From 8f89c3b445ff491e9c799693e7b118f4d492b05b Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 19 Sep 2024 15:27:18 +0200 Subject: Clarify server error messages --- client/game.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') 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": -- cgit v1.2.3-70-g09d2