Fix some issues
This commit is contained in:
parent
beb52d52c9
commit
91096e2c5e
@ -1,6 +1,6 @@
|
||||
--[[
|
||||
Re-write some functions (from builtin).
|
||||
Copyright (C) 2019 Panquesito7 (halfpacho@gmail.com)
|
||||
Copyright (C) 2019 David Leal (halfpacho@gmail.com)
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
@ -335,7 +335,7 @@ if core.get_modpath("sethome") then
|
||||
})
|
||||
end
|
||||
|
||||
-- When player joins/leaves, send a translatable message
|
||||
-- When player joins/leaves, send a translated message
|
||||
function core.send_join_message(player_name)
|
||||
if not core.is_singleplayer() then
|
||||
core.chat_send_all(S("*** @1 joined the game.", player_name))
|
||||
@ -371,4 +371,4 @@ function core.register_privilege(name, param)
|
||||
end
|
||||
fill_defaults(def)
|
||||
core.registered_privileges[name] = def
|
||||
end
|
||||
end
|
4
init.lua
4
init.lua
@ -1,6 +1,6 @@
|
||||
--[[
|
||||
A mod that enhances the builtin commands: adds support for intllib, and more.
|
||||
Copyright (C) 2019 Panquesito7 (halfpacho@gmail.com)
|
||||
Copyright (C) 2019 David Leal (halfpacho@gmail.com)
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
@ -917,4 +917,4 @@ if core.get_modpath("game_commands") then
|
||||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
end
|
16
locale/es.po
16
locale/es.po
@ -1,7 +1,7 @@
|
||||
# Spanish translation for Enhanced Builtin Commands.
|
||||
# Copyright (C) 2019 Panquesito7 and contributors.
|
||||
# Copyright (C) 2019 David Leal and contributors.
|
||||
# This file is distributed under under the same license as the Enhanced Builtin Commands package.
|
||||
# Panquesito7 <halfpacho@gmail.com>, 2019.
|
||||
# David Leal <halfpacho@gmail.com>, 2019.
|
||||
|
||||
msgid ""
|
||||
msgstr ""
|
||||
@ -9,7 +9,7 @@ msgstr ""
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-08-14 8:35+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Panquesito7 <halfpacho@gmail.com>\n"
|
||||
"Last-Translator: David Leal <halfpacho@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -194,7 +194,7 @@ msgstr "Establece tu punto de origen."
|
||||
|
||||
#: functions.lua
|
||||
msgid "Home set!"
|
||||
msgstr "¡Conjunto de casa!"
|
||||
msgstr "¡Casa establecida!"
|
||||
|
||||
#: functions.lua
|
||||
msgid "Player not found!"
|
||||
@ -746,7 +746,7 @@ msgstr "Obtenga el último tiempo de inicio de sesión de un jugador o de usted
|
||||
|
||||
#: init.lua
|
||||
msgid "Last login time was @1"
|
||||
msgstr "El último tiempo de inicio de sesión fue @1"
|
||||
msgstr "El último tiempo de inicio de sesión fue en @1"
|
||||
|
||||
#: init.lua
|
||||
msgid "Last login time is unknown."
|
||||
@ -802,7 +802,7 @@ msgstr "[all | <comando>]"
|
||||
|
||||
#: init.lua
|
||||
msgid "Get help for commands"
|
||||
msgstr "Obtenga ayuda para los comandos disponbiles."
|
||||
msgstr "Obtenga ayuda para todos los comandos disponbiles."
|
||||
|
||||
#: init.lua
|
||||
msgid "[all | privs | <cmd>]"
|
||||
@ -810,7 +810,7 @@ msgstr "[all | privs | <comando>]"
|
||||
|
||||
#: init.lua
|
||||
msgid "Get help for commands or list privileges"
|
||||
msgstr "Obtenga ayuda para los comandos disponbiles o privilegios de la lista."
|
||||
msgstr "Obtenga ayuda para todos los comandos disponbiles o privilegios de la lista."
|
||||
|
||||
#: init.lua
|
||||
msgid "Kill yourself to respawn"
|
||||
@ -818,4 +818,4 @@ msgstr "Destruirse para reaparecer."
|
||||
|
||||
#: functions.lua
|
||||
msgid "No static_spawnpoint defined"
|
||||
msgstr "'static_spawnpoint' no definido."
|
||||
msgstr "'static_spawnpoint' no definido."
|
@ -1,7 +1,7 @@
|
||||
# Template translation for Enhanced Builtin Commands.
|
||||
# Copyright (C) 2019 Panquesito7 and contributors.
|
||||
# Copyright (C) 2019 David Leal and contributors.
|
||||
# This file is distributed under under the same license as the Enhanced Builtin Commands package.
|
||||
# Panquesito7 <halfpacho@gmail.com>, 2019.
|
||||
# David Leal <halfpacho@gmail.com>, 2019.
|
||||
|
||||
msgid ""
|
||||
msgstr ""
|
||||
@ -9,7 +9,7 @@ msgstr ""
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-08-14 8:35+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Panquesito7 <halfpacho@gmail.com>\n"
|
||||
"Last-Translator: David Leal <halfpacho@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -818,4 +818,4 @@ msgstr ""
|
||||
|
||||
#: functions.lua
|
||||
msgid "No static_spawnpoint defined"
|
||||
msgstr ""
|
||||
msgstr ""
|
Loading…
x
Reference in New Issue
Block a user