diff options
author | hjk <[email protected]> | 2023-01-13 11:03:09 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2023-01-13 12:00:17 +0000 |
commit | e7c536011f1f66e702b7191848c5e728ae6e50fe (patch) | |
tree | 58ff5789a7f0a65d3a760ef920df7ada7690a2ad /src/plugins/debugger | |
parent | eab76c5007c1d4aba8ee72f3493cc2fa6c292378 (diff) |
Prefix Tr::tr contexts with ::
To make outliers better visible in Linguist
Change-Id: Ic35ea2a858b7e3576d9a416fb494fddb616eaaa1
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r-- | src/plugins/debugger/console/console.cpp | 2 | ||||
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 6 | ||||
-rw-r--r-- | src/plugins/debugger/debuggertr.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/debugger/console/console.cpp b/src/plugins/debugger/console/console.cpp index d502ff37282..72fecca154f 100644 --- a/src/plugins/debugger/console/console.cpp +++ b/src/plugins/debugger/console/console.cpp @@ -257,7 +257,7 @@ void Console::evaluate(const QString &expression) } else { auto item = new ConsoleItem( ConsoleItem::ErrorType, - QCoreApplication::translate("Debugger", "Can only evaluate during a debug session.")); + QCoreApplication::translate("::Debugger", "Can only evaluate during a debug session.")); m_consoleItemModel->shiftEditableRow(); printItem(item); } diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 7b51da8c084..ca04683856c 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1071,19 +1071,19 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments) debugMenu->addSeparator(); act = new QAction(this); - act->setText(QCoreApplication::translate("Debugger", "Move to Calling Frame")); + act->setText(QCoreApplication::translate("::Debugger", "Move to Calling Frame")); act->setEnabled(false); act->setVisible(false); ActionManager::registerAction(act, Constants::FRAME_UP); act = new QAction(this); - act->setText(QCoreApplication::translate("Debugger", "Move to Called Frame")); + act->setText(QCoreApplication::translate("::Debugger", "Move to Called Frame")); act->setEnabled(false); act->setVisible(false); ActionManager::registerAction(act, Constants::FRAME_DOWN); act = new QAction(this); - act->setText(QCoreApplication::translate("Debugger", "Operate by Instruction")); + act->setText(QCoreApplication::translate("::Debugger", "Operate by Instruction")); act->setEnabled(false); act->setVisible(false); act->setCheckable(true); diff --git a/src/plugins/debugger/debuggertr.h b/src/plugins/debugger/debuggertr.h index 9da1fe8f977..1333648e422 100644 --- a/src/plugins/debugger/debuggertr.h +++ b/src/plugins/debugger/debuggertr.h @@ -9,7 +9,7 @@ namespace Debugger { struct Tr { - Q_DECLARE_TR_FUNCTIONS(Debugger) + Q_DECLARE_TR_FUNCTIONS(::Debugger) }; } // namespace Debugger |