diff options
author | Nicolas Arnaud-Cormos <[email protected]> | 2011-02-07 11:34:00 +0100 |
---|---|---|
committer | con <[email protected]> | 2011-02-07 14:26:07 +0100 |
commit | 0444335aba148c1e02b34ecc84e646986abe638b (patch) | |
tree | 1596102cefe4688c7b233bbab2f3b1b0a893a0f3 /src | |
parent | 6fc21c3416f8ec1b5285fb122d1e2ab313a2f8b6 (diff) |
change menu name for macros plugin
Merge-request: 240
Reviewed-by: con <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/macros/macromanager.cpp | 6 | ||||
-rw-r--r-- | src/plugins/macros/macrosplugin.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/macros/macromanager.cpp b/src/plugins/macros/macromanager.cpp index ae2ca7597d3..2e68787904c 100644 --- a/src/plugins/macros/macromanager.cpp +++ b/src/plugins/macros/macromanager.cpp @@ -253,7 +253,7 @@ bool MacroManager::MacroManagerPrivate::executeMacro(Macro *macro) if (error) { QMessageBox::warning(Core::ICore::instance()->mainWindow(), - tr("Executing Macro"), + tr("Playing Macro"), tr("An error occured while replaying the macro, execution stopped.")); } @@ -355,12 +355,12 @@ void MacroManager::startMacro() QString endShortcut = am->command(Constants::END_MACRO)->defaultKeySequence().toString(); QString executeShortcut = am->command(Constants::EXECUTE_LAST_MACRO)->defaultKeySequence().toString(); - QString help = tr("Macro mode. Type \"%1\" to stop recording and \"%2\" to execute it") + QString help = tr("Macro mode. Type \"%1\" to stop recording and \"%2\" to play it") .arg(endShortcut).arg(executeShortcut); Core::EditorManager::instance()->showEditorStatusBar( QLatin1String(Constants::M_STATUS_BUFFER), help, - tr("End Macro"), this, SLOT(endMacro())); + tr("Stop Recording Macro"), this, SLOT(endMacro())); } void MacroManager::endMacro() diff --git a/src/plugins/macros/macrosplugin.cpp b/src/plugins/macros/macrosplugin.cpp index 263111920b5..add7629d1f4 100644 --- a/src/plugins/macros/macrosplugin.cpp +++ b/src/plugins/macros/macrosplugin.cpp @@ -88,7 +88,7 @@ bool MacrosPlugin::initialize(const QStringList &arguments, QString *error_messa menu->setEnabled(true); mtools->addMenu(mmacrotools); - QAction *startMacro = new QAction(tr("Start Macro"), this); + QAction *startMacro = new QAction(tr("Record Macro"), this); Core::Command *command = am->registerAction(startMacro, Constants::START_MACRO, textContext); #ifdef Q_WS_MAC command->setDefaultKeySequence(QKeySequence(tr("Ctrl+("))); @@ -98,7 +98,7 @@ bool MacrosPlugin::initialize(const QStringList &arguments, QString *error_messa mmacrotools->addAction(command); connect(startMacro, SIGNAL(triggered()), m_macroManager, SLOT(startMacro())); - QAction *endMacro = new QAction(tr("End Macro"), this); + QAction *endMacro = new QAction(tr("Stop Recording Macro"), this); endMacro->setEnabled(false); command = am->registerAction(endMacro, Constants::END_MACRO, globalcontext); #ifdef Q_WS_MAC @@ -109,7 +109,7 @@ bool MacrosPlugin::initialize(const QStringList &arguments, QString *error_messa mmacrotools->addAction(command); connect(endMacro, SIGNAL(triggered()), m_macroManager, SLOT(endMacro())); - QAction *executeLastMacro = new QAction(tr("Execute Last Macro"), this); + QAction *executeLastMacro = new QAction(tr("Play Last Macro"), this); command = am->registerAction(executeLastMacro, Constants::EXECUTE_LAST_MACRO, textContext); command->setDefaultKeySequence(QKeySequence(tr("Alt+R"))); mmacrotools->addAction(command); |