Debugger: Fix translation contexts

Change-Id: Id41ba15a4f0f5956148661e3c329cbb36a373f48
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Robert Loehning
2018-11-14 13:06:06 +01:00
parent 6c267b34b3
commit efe30bc5a5
2 changed files with 7 additions and 4 deletions

View File

@@ -528,9 +528,12 @@ public:
QAction m_runToLineAction{tr("Run to Line")}; // In the debug menu
QAction m_runToSelectedFunctionAction{tr("Run to Selected Function")};
QAction m_jumpToLineAction{tr("Jump to Line")};
QAction m_frameUpAction{tr("Move to Calling Frame")};
QAction m_frameDownAction{tr("Move to Called Frame")};
QAction m_openMemoryEditorAction{tr("Memory...")};
QAction m_frameUpAction{QCoreApplication::translate("Debugger::Internal::DebuggerPluginPrivate",
"Move to Calling Frame")};
QAction m_frameDownAction{QCoreApplication::translate("Debugger::Internal::DebuggerPluginPrivate",
"Move to Called Frame")};
QAction m_openMemoryEditorAction{QCoreApplication::translate("Debugger::Internal::DebuggerPluginPrivate",
"Memory...")};
// In the Debug menu.
QAction m_returnFromFunctionAction{tr("Immediately Return From Inner Function")};

View File

@@ -1289,7 +1289,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments,
ActionManager::registerAction(act, Constants::FRAME_DOWN);
act = new QAction(this);
act->setText(QCoreApplication::translate("Debugger::Internal::DebuggerPluginPrivate",
act->setText(QCoreApplication::translate("Debugger::Internal::DebuggerEnginePrivate",
"Operate by Instruction"));
act->setEnabled(false);
act->setVisible(false);