Update localization template & Spanish translation
parent
37eb8e02b0
commit
c45c911a0a
|
@ -2,6 +2,7 @@
|
|||
next
|
||||
----
|
||||
- added missing "textdomain" line to localization files
|
||||
- updated localization template & Spanish translation
|
||||
|
||||
|
||||
v1.0
|
||||
|
|
6
chat.lua
6
chat.lua
|
@ -154,7 +154,7 @@ end
|
|||
-- @chatparam [string1] [string2] ...
|
||||
-- @treturn boolean
|
||||
registerChatCommand("list", {
|
||||
params = S("type") .. " [options] [" .. S("string1") .. "] [" .. S("string2") .. "] ...",
|
||||
params = S("type") .. " [" .. S("options") .. "] [" .. S("string1") .. "] [" .. S("string2") .. "] ...",
|
||||
description = help_string .. options_string .. types_string,
|
||||
func = function(player, params)
|
||||
local params = string.split(params, " ")
|
||||
|
@ -169,8 +169,8 @@ registerChatCommand("list", {
|
|||
if listitems.enable_singleword then
|
||||
for _, kt in ipairs(aux.known_types) do
|
||||
registerChatCommand("list" .. kt, {
|
||||
params = "[options] [" .. S("string1") .. "] [" .. S("string2") .. "] ...",
|
||||
description = S("List registered @1", kt) .. "\n\n\t" .. S("Options:") .. options_string,
|
||||
params = "[" .. S("options") .. "] [" .. S("string1") .. "] [" .. S("string2") .. "] ...",
|
||||
description = S("List registered @1", S(kt)) .. "\n\n\t" .. S("Options:") .. options_string,
|
||||
func = function(player, params)
|
||||
local params = string.split(params, " ")
|
||||
params = table.concat(params, " ")
|
||||
|
|
|
@ -4,16 +4,26 @@
|
|||
|
||||
|
||||
## Help output description
|
||||
List registered @1=Listar registro de @1
|
||||
List registered items or entities=Listar los artículos o los entidades registrados
|
||||
Display descriptions=Mostrar descripciones
|
||||
Don't search descriptions=No analizar descripciones
|
||||
Registered types:=Tipos registrados:
|
||||
Options:=Opciones:
|
||||
|
||||
## Help output parameters
|
||||
type=tipo
|
||||
options=opciones
|
||||
string1=cadena1
|
||||
string2=cadena2
|
||||
|
||||
## Types
|
||||
items=artículos
|
||||
entities=entidades
|
||||
nodes=nodos
|
||||
ores=minerales
|
||||
tools=herramientas
|
||||
|
||||
## Player used unrecognized switch
|
||||
Error: Unknown option:=Error: Opción desconocida:
|
||||
Error: Must specify list type=Error: Debes de especificar el tipo de lista
|
||||
|
|
|
@ -13,9 +13,18 @@ Options:=
|
|||
|
||||
## Help output parameters
|
||||
type=
|
||||
options=
|
||||
string1=
|
||||
string2=
|
||||
|
||||
## Types
|
||||
items=
|
||||
entities=
|
||||
nodes=
|
||||
ores=
|
||||
tools=
|
||||
mobs=
|
||||
|
||||
## Error output
|
||||
Error: Unknown option:=
|
||||
Error: Must specify list type=
|
||||
|
|
Loading…
Reference in New Issue