core/Translator.cpp
changeset 1621 ac5d4c68a99a
parent 1406 f5c07ec3c052
child 1624 709b1f973c05
     1.1 --- a/core/Translator.cpp	Sun Oct 21 17:58:35 2007 +0000
     1.2 +++ b/core/Translator.cpp	Sun Oct 21 20:06:30 2007 +0000
     1.3 @@ -41,6 +41,7 @@
     1.4  
     1.5  Translator g_Translator;
     1.6  CPhraseFile *g_pCorePhrases = NULL;
     1.7 +unsigned int g_pCorePhraseID = 0;
     1.8  
     1.9  struct trans_t
    1.10  {
    1.11 @@ -712,10 +713,13 @@
    1.12  	if (g_LibSys.PathExists(path))
    1.13  	{
    1.14  		id = FindOrAddPhraseFile("core.cfg");
    1.15 -	} else {
    1.16 +	}
    1.17 +	else
    1.18 +	{
    1.19  		id = FindOrAddPhraseFile("core.phrases.txt");
    1.20  	}
    1.21  
    1.22 +	g_pCorePhraseID = id;
    1.23  	g_pCorePhrases = GetFileByIndex(id);
    1.24  }
    1.25