Removed commented out code.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-03-22 21:42:17 +00:00
parent 69a6a2439b
commit 72c3bf2cc8
2 changed files with 0 additions and 19 deletions

View File

@@ -163,7 +163,6 @@ wchar_t* utf8_to_wide(const char* input)
// ----------------------------------------------------------------------------
Translations::Translations() //: m_dictionary_manager("UTF-16")
{
//#ifdef ENABLE_NLS
if (g_language_list.size() == 0)
{
@@ -277,8 +276,6 @@ Translations::Translations() //: m_dictionary_manager("UTF-16")
break;
}
}
//#endif
} // Translations
// ----------------------------------------------------------------------------
@@ -361,19 +358,10 @@ const wchar_t* Translations::w_gettext(const char* original)
if (original[0] == '\0') return L"";
#if TRANSLATE_VERBOSE
#if ENABLE_NLS
std::cout << "Translating " << original << "\n";
#else
std::cout << "NOT Translating " << original << "\n";
#endif
#endif
//#if ENABLE_NLS
const std::string& original_t = m_dictionary.translate(original);
//#else
// m_converted_string = core::stringw(original);
// return m_converted_string.c_str();
//#endif
/*
std::cout << "--> original_t==original ? " << (original_t==original) << std::endl;

View File

@@ -25,7 +25,6 @@
#include <string>
#include "utils/string_utils.hpp"
//#if ENABLE_NLS
# include "tinygettext/tinygettext.hpp"
# define _(String, ...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__)))
@@ -36,12 +35,6 @@
# if defined(WIN32) && !defined(__CYGWIN__)
# undef fprintf
# endif
//#else // No NLS
//# define _(String, ...) (translations->w_gettext(String))
//# define _LTR(String, ...) (translations->w_gettext(String))
//# define gettext_noop(String) (String)
//# define N_(String) (String)
//#endif
class Translations
{