Merge pull request #3939 from thedax/win32MakeMsgTranslatable

Win32: Make savestate slot OSM translatable.
This commit is contained in:
Henrik Rydgård 2013-09-28 14:52:34 -07:00
commit 00c4fb43f2

View File

@ -1152,12 +1152,12 @@ namespace MainWindow
}
break;
// TODO: Improve UI for multiple slots
case ID_FILE_SAVESTATE_NEXT_SLOT:
{
I18NCategory *sy = GetI18NCategory("System");
g_Config.iCurrentStateSlot = (g_Config.iCurrentStateSlot + 1) % SaveState::SAVESTATESLOTS;
char msg[30];
sprintf(msg, "Using save state slot %d.", g_Config.iCurrentStateSlot + 1);
sprintf(msg, "%s: %d", sy->T("Savestate Slot"), g_Config.iCurrentStateSlot + 1);
osm.Show(msg);
break;
}