aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-03-20 08:41:07 +0000
committerGitHub <noreply@github.com>2020-03-20 09:41:07 +0100
commit625b1005939e76d6a5b2d241635be3b8a89eb128 (patch)
tree07c47b2f6925a2da46dc6f648e8b35c3da02cf2b /src/network
parent5c1b72544a6158346b7d8608c895678fe7d5a19b (diff)
downloadminetest-625b1005939e76d6a5b2d241635be3b8a89eb128.tar.gz
minetest-625b1005939e76d6a5b2d241635be3b8a89eb128.tar.bz2
minetest-625b1005939e76d6a5b2d241635be3b8a89eb128.zip
Add comments for translators (#9510)
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
Diffstat (limited to 'src/network')
-rw-r--r--src/network/clientpackethandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp
index 0a9f8c212..432fb415e 100644
--- a/src/network/clientpackethandler.cpp
+++ b/src/network/clientpackethandler.cpp
@@ -135,6 +135,9 @@ void Client::handleCommand_AuthAccept(NetworkPacket* pkt)
<< m_recommended_send_interval<<std::endl;
// Reply to server
+ /*~ DO NOT TRANSLATE THIS LITERALLY!
+ This is a special string which needs to contain the translation's
+ language code (e.g. "de" for German). */
std::string lang = gettext("LANG_CODE");
if (lang == "LANG_CODE")
lang = "";