aboutsummaryrefslogtreecommitdiff
path: root/client/menu
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu')
-rw-r--r--client/menu/character.gd2
-rw-r--r--client/menu/setup.gd2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/menu/character.gd b/client/menu/character.gd
index 862fc888..f487e59a 100644
--- a/client/menu/character.gd
+++ b/client/menu/character.gd
@@ -60,7 +60,7 @@ func _input(_event):
func _on_back_pressed():
if username_edit.text == "":
- await submenu("res://menu/warning_popup.tscn", tr("Username cannot be empty."))
+ await submenu("res://menu/warning_popup.tscn", tr("c.error.empty_username"))
return
Global.set_profile("username", username_edit.text)
diff --git a/client/menu/setup.gd b/client/menu/setup.gd
index 5f168b21..89445ac6 100644
--- a/client/menu/setup.gd
+++ b/client/menu/setup.gd
@@ -53,7 +53,7 @@ func _process(delta):
func check():
- if username.text == "": return tr("Username cannot be empty")
+ if username.text == "": return tr("c.error.empty_username")
var n = username.text.to_lower()
if n.begins_with("f") and n.ends_with("miller"): return tr("You cannot choose that name.\n(It's too close to your boss')")
if character == -1: return tr("You must select a hairstyle")