changed LANG_ENGLISH to CORELANG_ENGLISH

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40738
This commit is contained in:
David Anderson 2007-05-03 05:27:22 +00:00
parent 44d1ea5f09
commit 01b0432776
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
#include "ITextParsers.h"
#define MAX_TRANSLATE_PARAMS 32
#define LANG_ENGLISH 0
#define CORELANG_ENGLISH 0
/* :TODO: write a templatized version of tries? */

View File

@ -39,9 +39,9 @@ size_t CorePlayerTranslate(int client, char *buffer, size_t maxlength, const cha
TransError err;
err = g_pCorePhrases->GetTranslation(phrase, g_Translator.GetServerLanguage(), &pTrans);
if (err != Trans_Okay && g_Translator.GetServerLanguage() != LANG_ENGLISH)
if (err != Trans_Okay && g_Translator.GetServerLanguage() != CORELANG_ENGLISH)
{
err = g_pCorePhrases->GetTranslation(phrase, LANG_ENGLISH, &pTrans);
err = g_pCorePhrases->GetTranslation(phrase, CORELANG_ENGLISH, &pTrans);
}
if (err != Trans_Okay)