mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add comments for translators (#9510)
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
This commit is contained in:
parent
5c1b72544a
commit
625b100593
8 changed files with 30 additions and 0 deletions
|
@ -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 = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue