summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-10-01 17:28:01 +0200
committertpart <tpart120@proton.me>2024-10-01 17:28:01 +0200
commit9b79aa743f98d585b085c42a7ec1f8681e1a92f3 (patch)
tree5225af6f6ae9d99ae05db0b18ab2b1967f637b31
parent15a6673898a4f1a9ce40096ec66e303749bb63fa (diff)
downloadhurrycurry-9b79aa743f98d585b085c42a7ec1f8681e1a92f3.tar
hurrycurry-9b79aa743f98d585b085c42a7ec1f8681e1a92f3.tar.bz2
hurrycurry-9b79aa743f98d585b085c42a7ec1f8681e1a92f3.tar.zst
Add missing translation in setup menu for hairstyle error message
-rw-r--r--client/menu/setup.gd2
-rw-r--r--locale/en.ini1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/menu/setup.gd b/client/menu/setup.gd
index 580902da..38aa66be 100644
--- a/client/menu/setup.gd
+++ b/client/menu/setup.gd
@@ -55,7 +55,7 @@ func _process(delta):
func check():
if username.text == "": return tr("c.error.empty_username")
var n = username.text.to_lower()
- if character == -1: return tr("You must select a hairstyle")
+ if character == -1: return tr("c.error.select_hairstyle")
return null
func _on_sign_pressed():
diff --git a/locale/en.ini b/locale/en.ini
index a5c3ee6a..9f54861e 100644
--- a/locale/en.ini
+++ b/locale/en.ini
@@ -8,6 +8,7 @@ c.credits.title=Hurry Curry! - a game about cooking
c.credits.translations=Translations
c.error.cannot_cancel_no_game=Cannot cancel game since no game is running.
c.error.empty_username=Username cannot be empty.
+c.error.select_hairstyle=You must select a hairstyle.
c.error.must_join_to_cancel=You must join in order to be able to cancel the current game.
c.error.placeholder=This should be the error message.
c.error.server=Error from server: {0}