Don't allow translating chat commands themselves
parent
793883e7b2
commit
1748f06f83
9
api.lua
9
api.lua
|
@ -21,11 +21,6 @@ else
|
|||
end
|
||||
|
||||
|
||||
-- Invoking command strings
|
||||
local cmd_item = S('listitems')
|
||||
local cmd_entity = S('listentities')
|
||||
|
||||
|
||||
--- Valid switches.
|
||||
--
|
||||
-- @table
|
||||
|
@ -243,7 +238,7 @@ end
|
|||
|
||||
|
||||
-- listitems command
|
||||
registerChatCommand(cmd_item, {
|
||||
registerChatCommand('listitems', {
|
||||
params = '[' .. S('options') .. '] [' .. S('string1') .. '] [' .. S('string2') .. '] ...',
|
||||
description = S('List registered items'),
|
||||
func = function(player, param)
|
||||
|
@ -271,7 +266,7 @@ registerChatCommand(cmd_item, {
|
|||
|
||||
|
||||
-- listentities command
|
||||
registerChatCommand(cmd_entity, {
|
||||
registerChatCommand('listentities', {
|
||||
params = '[' .. S('options') .. '] [' .. S('string1') .. '] [' .. S('string2') .. '] ...',
|
||||
description = S('List registered entities'),
|
||||
func = function(player, param)
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
# Translation by Jordan Irwin (AntumDeluge)
|
||||
|
||||
|
||||
## Invoking command strings (remove these lines to keep defaults: "listitems" & "listentities")
|
||||
listitems = listararticulos
|
||||
listentities = listarentidades
|
||||
|
||||
## Help output description
|
||||
List registered items = Listar los artículos registrados
|
||||
List registered entities = Listar los entidades registrados
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
# Translation by
|
||||
|
||||
|
||||
## Invoking command strings (remove these lines to keep defaults: "listitems" & "listentities")
|
||||
listitems =
|
||||
listentities =
|
||||
|
||||
## Help output description
|
||||
List registered items =
|
||||
List registered entities =
|
||||
|
|
Loading…
Reference in New Issue