diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-10-14 17:01:40 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-10-15 18:02:47 +0200 |
commit | 11fb6d1c5222fa3658f154a197d54d0225ed5a22 (patch) | |
tree | a74d0302e19942ee1bcc96c92e08f7ab7e373174 /src/plugins/git | |
parent | e419119bb98af441df7a8c67c57330be3c1e6cb0 (diff) | |
download | qt-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.cpp | 6 |
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) |