diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-29 21:28:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-29 21:28:29 +0300 |
commit | 58414be5bf4d1fad092f61851ef106be89b1f81d (patch) | |
tree | b3bcdd677e5545eece7ea08390f85452a025feb9 | |
parent | f025e205790527804e2781fd56e99097be27a3a6 (diff) | |
download | plus-58414be5bf4d1fad092f61851ef106be89b1f81d.tar.gz plus-58414be5bf4d1fad092f61851ef106be89b1f81d.tar.bz2 plus-58414be5bf4d1fad092f61851ef106be89b1f81d.tar.xz plus-58414be5bf4d1fad092f61851ef106be89b1f81d.zip |
Remove debug messages.
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client.cpp b/src/client.cpp index d80943802..b21aa6970 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -339,9 +339,7 @@ void Client::gameInit() { setEnv("LANG", lang.c_str()); setEnv("LANGUAGE", lang.c_str()); - logger->log("set lang: " + lang); } - logger->log("lang1=%s", getenv("LANG")); #ifdef ANDROID bindTextDomain("manaplus", (std::string(PHYSFS_getBaseDir()) + "/locale").c_str()); @@ -359,27 +357,21 @@ void Client::gameInit() #endif #endif #endif - logger->log("lang2=%s", getenv("LANG")); char *locale = setlocale(LC_MESSAGES, lang.c_str()); - logger->log("lang3=%s", getenv("LANG")); if (locale) { logger->log("locale: %s", locale); } else { - logger->log("lang4=%s", getenv("LANG")); locale = setlocale(LC_MESSAGES, (lang + ".utf8").c_str()); - logger->log("lang5=%s", getenv("LANG")); if (locale) logger->log("locale: %s", locale); else logger->log("locale empty"); } bind_textdomain_codeset("manaplus", "UTF-8"); - logger->log("lang6=%s", getenv("LANG")); textdomain("manaplus"); - logger->log("lang7=%s", getenv("LANG")); #endif #if defined(WIN32) || defined(__APPLE__) |