core/MenuManager.cpp
changeset 3004 e3ac0dc6d9a4
parent 2928 1f7626e1a49d
child 3872 4c93f74cae51
     1.1 --- a/core/MenuManager.cpp	Fri May 14 19:43:38 2010 -0700
     1.2 +++ b/core/MenuManager.cpp	Fri May 14 19:43:53 2010 -0700
     1.3 @@ -41,7 +41,7 @@
     1.4  #include "ShareSys.h"
     1.5  #include "HandleSys.h"
     1.6  #include "sourcemm_api.h"
     1.7 -#include "Translator.h"
     1.8 +#include "logic_bridge.h"
     1.9  
    1.10  MenuManager g_Menus;
    1.11  VoteMenuHandler s_VoteHandler;
    1.12 @@ -446,7 +446,7 @@
    1.13  	if (novoteButton)
    1.14  	{
    1.15  		char text[50];
    1.16 -		if (!CoreTranslate(text, sizeof(text), "%T", 2, NULL, "No Vote", &client))
    1.17 +		if (!logicore.CoreTranslate(text, sizeof(text), "%T", 2, NULL, "No Vote", &client))
    1.18  		{
    1.19  			UTIL_Format(text, sizeof(text), "No Vote");
    1.20  		}
    1.21 @@ -606,7 +606,7 @@
    1.22  				{
    1.23  					if (exitBackButton)
    1.24  					{
    1.25 -						if (!CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Back", &client))
    1.26 +						if (!logicore.CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Back", &client))
    1.27  						{
    1.28  							UTIL_Format(text, sizeof(text), "Back");
    1.29  						}
    1.30 @@ -616,7 +616,7 @@
    1.31  					}
    1.32  					else
    1.33  					{
    1.34 -						if (!CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Previous", &client))
    1.35 +						if (!logicore.CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Previous", &client))
    1.36  						{
    1.37  							UTIL_Format(text, sizeof(text), "Previous");
    1.38  						}
    1.39 @@ -637,7 +637,7 @@
    1.40  				/* NEXT */
    1.41  				if (displayNext || canDrawDisabled)
    1.42  				{
    1.43 -					if (!CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Next", &client))
    1.44 +					if (!logicore.CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Next", &client))
    1.45  					{
    1.46  						UTIL_Format(text, sizeof(text), "Next");
    1.47  					}
    1.48 @@ -668,7 +668,7 @@
    1.49  		/* EXIT */
    1.50  		if (exitButton)
    1.51  		{
    1.52 -			if (!CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Exit", &client))
    1.53 +			if (!logicore.CoreTranslate(text, sizeof(text), "%T", 2, NULL, "Exit", &client))
    1.54  			{
    1.55  				UTIL_Format(text, sizeof(text), "Exit");
    1.56  			}