forked from qt-creator/qt-creator
Proliferate Tr::tr in various places
This changes several tr() calls which were either missed during Tr::tr- ization or were added later. Found with regular expression: (?<!(Tr::)|([\w]))tr\( Change-Id: I1c0c03589e941614a7a8449ecfebc7d2cad396c3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1613,7 +1613,7 @@ void DebuggerPluginPrivate::attachToRunningApplication()
|
||||
kitChooser->setShowIcons(true);
|
||||
|
||||
auto dlg = new DeviceProcessesDialog(kitChooser, ICore::dialogParent());
|
||||
dlg->addAcceptButton(DeviceProcessesDialog::tr("&Attach to Process"));
|
||||
dlg->addAcceptButton(Tr::tr("&Attach to Process"));
|
||||
dlg->showAllDevices();
|
||||
if (dlg->exec() == QDialog::Rejected) {
|
||||
delete dlg;
|
||||
@@ -2261,7 +2261,7 @@ bool wantRunTool(ToolMode toolMode, const QString &toolName)
|
||||
|
||||
QAction *createStartAction()
|
||||
{
|
||||
auto action = new QAction(DebuggerMainWindow::tr("Start"), m_instance);
|
||||
auto action = new QAction(Tr::tr("Start"), m_instance);
|
||||
action->setIcon(ProjectExplorer::Icons::ANALYZER_START_SMALL_TOOLBAR.icon());
|
||||
action->setEnabled(true);
|
||||
return action;
|
||||
@@ -2269,7 +2269,7 @@ QAction *createStartAction()
|
||||
|
||||
QAction *createStopAction()
|
||||
{
|
||||
auto action = new QAction(DebuggerMainWindow::tr("Stop"), m_instance);
|
||||
auto action = new QAction(Tr::tr("Stop"), m_instance);
|
||||
action->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon());
|
||||
action->setEnabled(true);
|
||||
return action;
|
||||
|
||||
Reference in New Issue
Block a user