mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add comments for translators (#9510)
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
This commit is contained in:
@@ -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 = "";
|
||||
|
Reference in New Issue
Block a user