mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Use 'confirm' button when finishing editing
This commit is contained in:
parent
3a52599e49
commit
48fd9e877d
@ -37,6 +37,7 @@
|
||||
"common.automatic": "Auto",
|
||||
"common.random": "Random",
|
||||
"common.empty": "Empty",
|
||||
"common.confirm": "Confirm",
|
||||
|
||||
// Settings Window title
|
||||
"common.interface_settings": "Interface Settings",
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user