1.1 --- a/core/Translator.h Thu May 03 05:26:10 2007 +0000
1.2 +++ b/core/Translator.h Thu May 03 05:27:22 2007 +0000
1.3 @@ -23,7 +23,7 @@
1.4 #include "ITextParsers.h"
1.5
1.6 #define MAX_TRANSLATE_PARAMS 32
1.7 -#define LANG_ENGLISH 0
1.8 +#define CORELANG_ENGLISH 0
1.9
1.10 /* :TODO: write a templatized version of tries? */
1.11
2.1 --- a/core/sm_stringutil.cpp Thu May 03 05:26:10 2007 +0000
2.2 +++ b/core/sm_stringutil.cpp Thu May 03 05:27:22 2007 +0000
2.3 @@ -39,9 +39,9 @@
2.4 TransError err;
2.5
2.6 err = g_pCorePhrases->GetTranslation(phrase, g_Translator.GetServerLanguage(), &pTrans);
2.7 - if (err != Trans_Okay && g_Translator.GetServerLanguage() != LANG_ENGLISH)
2.8 + if (err != Trans_Okay && g_Translator.GetServerLanguage() != CORELANG_ENGLISH)
2.9 {
2.10 - err = g_pCorePhrases->GetTranslation(phrase, LANG_ENGLISH, &pTrans);
2.11 + err = g_pCorePhrases->GetTranslation(phrase, CORELANG_ENGLISH, &pTrans);
2.12 }
2.13
2.14 if (err != Trans_Okay)