mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
adding english translation for delchar confirm text
This commit is contained in:
@@ -142,9 +142,9 @@ if ESX.GetConfig().Multichar then
|
|||||||
|
|
||||||
function CharacterDeleteConfirmation(Characters, slots, SelectedCharacter, value)
|
function CharacterDeleteConfirmation(Characters, slots, SelectedCharacter, value)
|
||||||
local elements = {
|
local elements = {
|
||||||
{title = 'Delete Confirmation', icon = "fa-solid fa-users", description = 'Are you sure removing selected character?', unselectable = true},
|
{title = TranslateCap('char_delete_confirmation'), icon = "fa-solid fa-users", description = TranslateCap('char_delete_confirmation_description'), unselectable = true},
|
||||||
{title = TranslateCap('char_delete'), icon ="fa-solid fa-xmark", description = 'Yes, I am sure removing selected character', action = 'delete', value = value},
|
{title = TranslateCap('char_delete'), icon ="fa-solid fa-xmark", description = TranslateCap('char_delete_yes_description'), action = 'delete', value = value},
|
||||||
{title = TranslateCap('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = 'No, return to character options', action = "return"}
|
{title = TranslateCap('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = TranslateCap('char_delete_no_description'), action = "return"}
|
||||||
}
|
}
|
||||||
|
|
||||||
ESX.OpenContext("left", elements, function(element, Action)
|
ESX.OpenContext("left", elements, function(element, Action)
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ Locales["en"] = {
|
|||||||
["char_disabled_description"] = "This Character Is Unusable.",
|
["char_disabled_description"] = "This Character Is Unusable.",
|
||||||
["char_delete"] = "Delete",
|
["char_delete"] = "Delete",
|
||||||
["char_delete_description"] = "Permanently Remove This Character.",
|
["char_delete_description"] = "Permanently Remove This Character.",
|
||||||
|
["char_delete_confirmation"] = "Delete Confirmation",
|
||||||
|
["char_delete_confirmation_description"] = "Are you sure removing selected character?",
|
||||||
|
["char_delete_yes_description"] = "Yes, I am sure removing selected character",
|
||||||
|
["char_delete_no_description"] = "No, return to character options",
|
||||||
["character"] = "Character: %s",
|
["character"] = "Character: %s",
|
||||||
["return"] = "Return",
|
["return"] = "Return",
|
||||||
["return_description"] = "Return To Character Selection.",
|
["return_description"] = "Return To Character Selection.",
|
||||||
|
|||||||
Reference in New Issue
Block a user