localize prompts

This commit is contained in:
Chris Danford
2005-12-20 21:32:26 +00:00
parent c40dedc21f
commit c9d79d3e3b
3 changed files with 22 additions and 24 deletions
+2 -1
View File
@@ -172,6 +172,7 @@ static void DeleteCurrentSteps()
GAMESTATE->m_pCurSteps[0].Set( NULL );
}
static LocalizedString MISSING_MUSIC_FILE( "ScreenEditMenu", "This song is missing a music file and cannot be edited." );
void ScreenEditMenu::MenuStart( PlayerNumber pn )
{
if( IsTransitioning() )
@@ -203,7 +204,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
if( !pSong->HasMusic() )
{
ScreenPrompt::Prompt( SM_None, "This song is missing a music file and cannot be edited" );
ScreenPrompt::Prompt( SM_None, MISSING_MUSIC_FILE );
return;
}