make prompt strings localizable

This commit is contained in:
Chris Danford
2005-12-21 09:56:16 +00:00
parent ff45bcce27
commit 28959facb3
13 changed files with 135 additions and 76 deletions
+2 -1
View File
@@ -234,6 +234,7 @@ void ScreenJoinMultiplayer::MenuBack( PlayerNumber pn )
Cancel( SM_GoToPrevScreen );
}
static LocalizedString JOIN_2_OR_MORE_PLAYERS ("ScreenJoinMultiplayer", "You must join 2 or more players before continuing.");
void ScreenJoinMultiplayer::MenuStart( PlayerNumber pn )
{
int iNumJoinedPlayers = 0;
@@ -249,7 +250,7 @@ void ScreenJoinMultiplayer::MenuStart( PlayerNumber pn )
if( iNumJoinedPlayers < 2 )
{
ScreenPrompt::Prompt( SM_None, "You must join 2 or more players before continuing." );
ScreenPrompt::Prompt( SM_None, JOIN_2_OR_MORE_PLAYERS );
return;
}