summaryrefslogtreecommitdiff
path: root/builtin/client
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-04-10 20:14:00 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-10 21:14:00 +0200
commiteb587996e42544ec8624b256e6d5eea12f9bab88 (patch)
treee42ad2edf080791fe0a171cb2393d1473de6d9eb /builtin/client
parente8d872332040c16714ff6410d1f859adcec4766e (diff)
downloadminetest-eb587996e42544ec8624b256e6d5eea12f9bab88.tar.gz
minetest-eb587996e42544ec8624b256e6d5eea12f9bab88.tar.bz2
minetest-eb587996e42544ec8624b256e6d5eea12f9bab88.zip
[CSM] Use more gettext (#5553)
Diffstat (limited to 'builtin/client')
-rw-r--r--builtin/client/chatcommands.lua6
1 files changed, 3 insertions, 3 deletions
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