localize more strings
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "RageLog.h"
|
||||
#include "RageUtil.h"
|
||||
#include "Game.h"
|
||||
#include "ThemeManager.h"
|
||||
|
||||
|
||||
static const char *GameControllerNames[] = {
|
||||
@@ -18,6 +19,11 @@ CString GameButtonToString( const Game* pGame, GameButton i )
|
||||
return pGame->m_szButtonNames[i];
|
||||
}
|
||||
|
||||
CString GameButtonToLocalizedString( const Game* pGame, GameButton i )
|
||||
{
|
||||
return THEME->GetString( "GameButton", GameButtonToString(pGame,i) );
|
||||
}
|
||||
|
||||
GameButton StringToGameButton( const Game* pGame, const CString& s )
|
||||
{
|
||||
for( int i=0; i<pGame->m_iButtonsPerController; i++ )
|
||||
|
||||
Reference in New Issue
Block a user