From e4a1d02f4e1c7d3fb98ab41df4c459228b769644 Mon Sep 17 00:00:00 2001 From: The Dax Date: Thu, 26 Sep 2013 19:00:30 -0400 Subject: [PATCH] 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"). --- Windows/WndMainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Windows/WndMainWindow.cpp b/Windows/WndMainWindow.cpp index 2990f6e2d3..a634c4e319 100644 --- a/Windows/WndMainWindow.cpp +++ b/Windows/WndMainWindow.cpp @@ -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; }