diff options
Diffstat (limited to 'builtin/client')
-rw-r--r-- | builtin/client/chatcommands.lua | 6 | ||||
-rw-r--r-- | builtin/client/death_formspec.lua | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/builtin/client/chatcommands.lua b/builtin/client/chatcommands.lua index e947c564f..37308efd9 100644 --- a/builtin/client/chatcommands.lua +++ b/builtin/client/chatcommands.lua @@ -7,7 +7,7 @@ core.register_on_sending_chat_message(function(message) local first_char = message:sub(1,1) if first_char == "/" or first_char == "." then - core.display_chat_message(core.gettext("issued command: ") .. message) + core.display_chat_message(core.gettext("Issued command: ") .. message) end if first_char ~= "." then @@ -18,7 +18,7 @@ core.register_on_sending_chat_message(function(message) param = param or "" if not cmd then - core.display_chat_message(core.gettext("-!- Empty command")) + core.display_chat_message("-!- " .. core.gettext("Empty command.")) return true end @@ -35,7 +35,7 @@ core.register_on_sending_chat_message(function(message) core.display_chat_message(result) end else - core.display_chat_message(core.gettext("-!- Invalid command: ") .. cmd) + core.display_chat_message("-!- " .. core.gettext("Invalid command: ") .. cmd) end return true diff --git a/builtin/client/death_formspec.lua b/builtin/client/death_formspec.lua index 7b8530440..6d6fd6fd9 100644 --- a/builtin/client/death_formspec.lua +++ b/builtin/client/death_formspec.lua @@ -11,12 +11,12 @@ core.register_on_death(function() if core.settings:get_bool("autorespawn") then core.send_respawn() else - core.show_formspec("__builtin__:death", death_formspec) + core.show_formspec("bultin:death", death_formspec) end end) core.register_on_formspec_input(function(formname, fields) - if formname == "__builtin__:death" then + if formname == "bultin:death" then if fields.btn_ghost_mode then core.display_chat_message("You are in ghost mode. Use .respawn to Respawn.") else |