diff --git a/pcsx2-qt/Debugger/Docking/DockManager.cpp b/pcsx2-qt/Debugger/Docking/DockManager.cpp index 701556295d..820b3c8243 100644 --- a/pcsx2-qt/Debugger/Docking/DockManager.cpp +++ b/pcsx2-qt/Debugger/Docking/DockManager.cpp @@ -298,7 +298,10 @@ void DockManager::resetAllLayouts() m_layouts.clear(); for (const DockTables::DefaultDockLayout& layout : DockTables::DEFAULT_DOCK_LAYOUTS) - createLayout(tr(layout.name.c_str()), layout.cpu, true, layout.name); + { + QString name = QCoreApplication::translate("DebuggerLayout", layout.name.c_str()); + createLayout(name, layout.cpu, true, layout.name); + } switchToLayout(0); updateLayoutSwitcher(); @@ -313,7 +316,10 @@ void DockManager::resetDefaultLayouts() m_layouts = std::vector(); for (const DockTables::DefaultDockLayout& layout : DockTables::DEFAULT_DOCK_LAYOUTS) - createLayout(tr(layout.name.c_str()), layout.cpu, true, layout.name); + { + QString name = QCoreApplication::translate("DebuggerLayout", layout.name.c_str()); + createLayout(name, layout.cpu, true, layout.name); + } for (DockLayout& layout : old_layouts) if (!layout.isDefault())