From 48fd9e877d4f3d28f990f1f490179dbd8bd01f36 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sat, 18 Dec 2021 11:45:49 +0100 Subject: [PATCH] Use 'confirm' button when finishing editing --- assets/voxygen/i18n/en/common.ron | 1 + voxygen/src/menu/char_selection/ui/mod.rs | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/voxygen/i18n/en/common.ron b/assets/voxygen/i18n/en/common.ron index efbffbcda5..2875bdc89a 100644 --- a/assets/voxygen/i18n/en/common.ron +++ b/assets/voxygen/i18n/en/common.ron @@ -37,6 +37,7 @@ "common.automatic": "Auto", "common.random": "Random", "common.empty": "Empty", + "common.confirm": "Confirm", // Settings Window title "common.interface_settings": "Interface Settings", diff --git a/voxygen/src/menu/char_selection/ui/mod.rs b/voxygen/src/menu/char_selection/ui/mod.rs index c0e1e90d2b..1812eafb65 100644 --- a/voxygen/src/menu/char_selection/ui/mod.rs +++ b/voxygen/src/menu/char_selection/ui/mod.rs @@ -1292,7 +1292,11 @@ impl Controls { let create = neat_button( create_button, - i18n.get("common.create"), + i18n.get(if character_id.is_some() { + "common.confirm" + } else { + "common.create" + }), FILL_FRAC_ONE, button_style, (!name.is_empty()).then_some(confirm_msg),