From eb587996e42544ec8624b256e6d5eea12f9bab88 Mon Sep 17 00:00:00 2001 From: red-001 Date: Mon, 10 Apr 2017 20:14:00 +0100 Subject: [CSM] Use more gettext (#5553) --- builtin/client/chatcommands.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builtin/client') diff --git a/builtin/client/chatcommands.lua b/builtin/client/chatcommands.lua index bb5b905d8..bb698cdec 100644 --- a/builtin/client/chatcommands.lua +++ b/builtin/client/chatcommands.lua @@ -4,7 +4,7 @@ core.register_on_sending_chat_messages(function(message) local first_char = message:sub(1,1) if first_char == "/" or first_char == "." then - core.display_chat_message("issued command: " .. message) + core.display_chat_message(core.gettext("issued command: ") .. message) end if first_char ~= "." then @@ -17,7 +17,7 @@ core.register_on_sending_chat_messages(function(message) end if not cmd then - core.display_chat_message("-!- Empty command") + core.display_chat_message(core.gettext("-!- Empty command")) return true end @@ -29,7 +29,7 @@ core.register_on_sending_chat_messages(function(message) core.display_chat_message(message) end else - core.display_chat_message("-!- Invalid command: " .. cmd) + core.display_chat_message(core.gettext("-!- Invalid command: ") .. cmd) end return true -- cgit v1.2.3