changed LANG_ENGLISH to CORELANG_ENGLISH
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40738
This commit is contained in:
parent
44d1ea5f09
commit
01b0432776
@ -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? */
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user