make string localizable

This commit is contained in:
Chris Danford
2006-01-18 10:03:45 +00:00
parent d5cde8a0f7
commit cec914461e
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -335,6 +335,7 @@ void EditMenu::UpdateArrows()
m_sprArrows[1].EnableAnimation( CanGoRight() );
}
static LocalizedString BLANK ( "EditMenu", "Blank" );
void EditMenu::OnRowValueChanged( EditMenuRow row )
{
UpdateArrows();
@@ -499,7 +500,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
CString s;
Steps *pSourceSteps = GetSelectedSourceSteps();
if( GetSelectedSourceDifficulty() == DIFFICULTY_INVALID )
s = "Blank";
s = BLANK;
else if( pSourceSteps && GetSelectedSourceDifficulty() == DIFFICULTY_EDIT )
s = pSourceSteps->GetDescription() + " (" + DifficultyToLocalizedString(DIFFICULTY_EDIT) + ")";
else