diff options
author | Ekdohibs <nathanael.courant@laposte.net> | 2017-01-31 18:05:03 +0100 |
---|---|---|
committer | Ekdohibs <nathanael.courant@laposte.net> | 2017-08-24 17:54:10 +0200 |
commit | b24e6433df3c3b2926568aff9c0173459e3e8eab (patch) | |
tree | eec6a9f05e78e3de7b08c805685cd54dcc5e43de /src/chat.cpp | |
parent | b28af0ed0777f66122ecaf0d0e302fe24c88d552 (diff) | |
download | hax-minetest-server-b24e6433df3c3b2926568aff9c0173459e3e8eab.tar.gz hax-minetest-server-b24e6433df3c3b2926568aff9c0173459e3e8eab.zip |
Add clientside translations.
Diffstat (limited to 'src/chat.cpp')
-rw-r--r-- | src/chat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chat.cpp b/src/chat.cpp index 35c6329c3..fd0718707 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -650,6 +650,7 @@ ChatBackend::ChatBackend(): void ChatBackend::addMessage(std::wstring name, std::wstring text) { // Note: A message may consist of multiple lines, for example the MOTD. + text = translate_string(text); WStrfnd fnd(text); while (!fnd.at_end()) { |