summaryrefslogtreecommitdiff
path: root/src/plugins/git
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-10-14 17:01:40 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-10-15 18:02:47 +0200
commit11fb6d1c5222fa3658f154a197d54d0225ed5a22 (patch)
treea74d0302e19942ee1bcc96c92e08f7ab7e373174 /src/plugins/git
parente419119bb98af441df7a8c67c57330be3c1e6cb0 (diff)
downloadqt-creator-11fb6d1c5222fa3658f154a197d54d0225ed5a22.tar.gz
Git: Rename "reset" back to "undo uncomitted changes"
Rename "Reset..." back to "Undo Uncommitted Changes..." to be more in line with git gui as well as the file-based operations. Reviewed-by: Leena Miettinen
Diffstat (limited to 'src/plugins/git')
-rw-r--r--src/plugins/git/gitplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp
index b608c35bd4..854ef23c16 100644
--- a/src/plugins/git/gitplugin.cpp
+++ b/src/plugins/git/gitplugin.cpp
@@ -402,7 +402,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
globalcontext, true, &GitClient::status);
createRepositoryAction(actionManager, gitContainer,
- tr("Reset..."), QLatin1String("Git.UndoRepository"),
+ tr("Undo Uncommited Changes..."), QLatin1String("Git.UndoRepository"),
globalcontext, false, SLOT(undoRepositoryChanges()));
@@ -622,10 +622,10 @@ void GitPlugin::undoRepositoryChanges()
{
const VCSBase::VCSBasePluginState state = currentState();
QTC_ASSERT(state.hasTopLevel(), return)
- const QString msg = tr("Revert all pending changes to the repository\n%1?").arg(QDir::toNativeSeparators(state.topLevel()));
+ const QString msg = tr("Undo all pending changes to the repository\n%1?").arg(QDir::toNativeSeparators(state.topLevel()));
const QMessageBox::StandardButton answer
= QMessageBox::question(m_core->mainWindow(),
- tr("Revert"), msg,
+ tr("Undo Changes"), msg,
QMessageBox::Yes|QMessageBox::No,
QMessageBox::No);
if (answer == QMessageBox::No)