From 9b79aa743f98d585b085c42a7ec1f8681e1a92f3 Mon Sep 17 00:00:00 2001 From: tpart Date: Tue, 1 Oct 2024 17:28:01 +0200 Subject: Add missing translation in setup menu for hairstyle error message --- client/menu/setup.gd | 2 +- locale/en.ini | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3-70-g09d2