mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Fixed unknown command locale
This commit is contained in:
+1
-1
@@ -8,5 +8,5 @@ Locales['cs'] = {
|
||||
['do_prefix'] = 'do | %s',
|
||||
['generic_argument_name'] = 'zpráva',
|
||||
['generic_argument_help'] = 'zpráva',
|
||||
['generic_unknown_command'] = '^3%s^0 není platný příkaz!',
|
||||
['unknown_command'] = '^3%s^0 není platný příkaz!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ Locales['en'] = {
|
||||
['do_prefix'] = 'do | %s',
|
||||
['generic_argument_name'] = 'message',
|
||||
['generic_argument_help'] = 'the message',
|
||||
['generic_unknown_command'] = '^3%s^0 is not a valid command!',
|
||||
['unknown_command'] = '^3%s^0 is not a valid command!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ Locales['fi'] = {
|
||||
['do_prefix'] = 'do | %s',
|
||||
['generic_argument_name'] = 'viesti',
|
||||
['generic_argument_help'] = 'viestin sisältö',
|
||||
['generic_unknown_command'] = '^3%s^0 ei ole validi komento!',
|
||||
['unknown_command'] = '^3%s^0 ei ole validi komento!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ Locales['fr'] = {
|
||||
['do_prefix'] = 'faire | %s',
|
||||
['generic_argument_name'] = 'message',
|
||||
['generic_argument_help'] = 'le message',
|
||||
['generic_unknown_command'] = '^3%s^0 n\'est pas une commande valide!',
|
||||
['unknown_command'] = '^3%s^0 n\'est pas une commande valide!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ Locales['sv'] = {
|
||||
['do_prefix'] = 'gör | %s',
|
||||
['generic_argument_name'] = 'meddelande',
|
||||
['generic_argument_help'] = 'det meddelandet du vill skicka',
|
||||
['generic_unknown_command'] = '^3%s^0 är inte ett giltigt kommando!',
|
||||
['unknown_command'] = '^3%s^0 är inte ett giltigt kommando!',
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
AddEventHandler('es:invalidCommandHandler', function(source, command_args, user)
|
||||
CancelEvent()
|
||||
TriggerClientEvent('chat:addMessage', source, { args = { '^1SYSTEM', _U('ooc_unknown_command', command_args[1]) } })
|
||||
TriggerClientEvent('chat:addMessage', source, { args = { '^1SYSTEM', _U('unknown_command', command_args[1]) } })
|
||||
end)
|
||||
|
||||
AddEventHandler('chatMessage', function(source, name, message)
|
||||
|
||||
Reference in New Issue
Block a user