Make savestate slot message translatable, and shorten it so it can be more language neutral in word order("Using savestate slot %d" -> "Savestate slot: %d").

This commit is contained in:
The Dax committed 2013-09-26 19:00:30 -04:00
1 parent 6143cfabd9
commit e4a1d02f4e
1 file changed
+2 -2
+2 -2
View File
@@ -1141,12 +1141,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;
}