localize text entry

This commit is contained in:
Chris Danford
2005-12-21 12:55:20 +00:00
parent 28959facb3
commit c4d4f640bb
10 changed files with 70 additions and 50 deletions
@@ -167,8 +167,9 @@ void ScreenOptionsManageProfiles::BeginScreen()
AfterChangeRow( PLAYER_1 );
}
static LocalizedString CONFIRM_DELETE_PROFILE( "ScreenOptionsManageProfiles", "Are you sure you want to delete the profile '%s'?" );
static LocalizedString CONFIRM_CLEAR_PROFILE( "ScreenOptionsManageProfiles", "Are you sure you want to clear all data in the profile '%s'?" );
static LocalizedString CONFIRM_DELETE_PROFILE ( "ScreenOptionsManageProfiles", "Are you sure you want to delete the profile '%s'?" );
static LocalizedString CONFIRM_CLEAR_PROFILE ( "ScreenOptionsManageProfiles", "Are you sure you want to clear all data in the profile '%s'?" );
static LocalizedString ENTER_PROFILE_NAME ( "ScreenOptionsManageProfiles", "Enter a name for the profile." );
void ScreenOptionsManageProfiles::HandleScreenMessage( const ScreenMessage SM )
{
if( SM == SM_GoToNextScreen )
@@ -274,7 +275,7 @@ void ScreenOptionsManageProfiles::HandleScreenMessage( const ScreenMessage SM )
{
ScreenTextEntry::TextEntry(
SM_BackFromRename,
"Enter a name for the profile.",
ENTER_PROFILE_NAME,
pProfile->m_sDisplayName,
PROFILE_MAX_DISPLAY_NAME_LENGTH,
ValidateLocalProfileName );
@@ -328,7 +329,7 @@ void ScreenOptionsManageProfiles::ProcessMenuStart( const InputEventPlus &input
}
ScreenTextEntry::TextEntry(
SM_BackFromEnterNameForNew,
"Enter a name for the new profile.",
ENTER_PROFILE_NAME,
sPotentialName,
PROFILE_MAX_DISPLAY_NAME_LENGTH,
ValidateLocalProfileName );