translate difficulty name
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
#include "GameState.h"
|
#include "GameState.h"
|
||||||
#include "song.h"
|
#include "song.h"
|
||||||
#include "Steps.h"
|
#include "Steps.h"
|
||||||
|
#include "SongManager.h"
|
||||||
|
|
||||||
SongCreditDisplay::SongCreditDisplay()
|
SongCreditDisplay::SongCreditDisplay()
|
||||||
{
|
{
|
||||||
@@ -36,7 +37,13 @@ SongCreditDisplay::SongCreditDisplay()
|
|||||||
for( unsigned i=0; i<vpStepsToShow.size(); i++ )
|
for( unsigned i=0; i<vpStepsToShow.size(); i++ )
|
||||||
{
|
{
|
||||||
Steps* pSteps = vpStepsToShow[i];
|
Steps* pSteps = vpStepsToShow[i];
|
||||||
s += Capitalize( DifficultyToString(pSteps->GetDifficulty()) ) + " steps by " + pSteps->GetDescription();
|
CString sDifficulty = SONGMAN->GetDifficultyThemeName( pSteps->GetDifficulty() );
|
||||||
|
|
||||||
|
// HACK: reset capitalization
|
||||||
|
sDifficulty.MakeLower();
|
||||||
|
sDifficulty = Capitalize( sDifficulty );
|
||||||
|
|
||||||
|
s += sDifficulty + " steps: " + pSteps->GetDescription();
|
||||||
s += "\n";
|
s += "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user