Move the new slot translation string to Dialog, fits better there.

This commit is contained in:
Henrik Rydgård
2026-01-08 23:26:48 +01:00
parent 13af9d5a9b
commit 4e5e34a0cc
46 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -335,7 +335,7 @@ namespace MainWindow {
RemoveMenu(saveStateSlots, 0, MF_BYPOSITION);
}
auto dt = GetI18NCategory(I18NCat::DESKTOPUI);
auto di = GetI18NCategory(I18NCat::DIALOG);
// Add new items
for (int i = 0; i < Config::iSaveStateSlotCount; ++i) {
std::string number = StringFromFormat("%d", i + 1);
@@ -343,7 +343,7 @@ namespace MainWindow {
// Add an accelerator for the first 10 slots.
number = "&" + number;
}
std::string label = ApplySafeSubstitutions(dt->T("Slot %1"), number);
std::string label = ApplySafeSubstitutions(di->T("Slot %1"), number);
AppendMenu(
saveStateSlots,
MF_STRING,