forked from qt-creator/qt-creator
VCS: String update
String update as suggested by Leena.
This commit is contained in:
@@ -629,7 +629,7 @@ void CVSPlugin::revertAll()
|
||||
const VCSBase::VCSBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasTopLevel(), return)
|
||||
const QString title = tr("Revert repository");
|
||||
if (!messageBoxQuestion(title, tr("Would you like to revert all changes to the repository?")))
|
||||
if (!messageBoxQuestion(title, tr("Revert all pending changes to the repository?")))
|
||||
return;
|
||||
QStringList args;
|
||||
args << QLatin1String("update") << QLatin1String("-C") << state.topLevel();
|
||||
|
||||
@@ -622,7 +622,7 @@ void GitPlugin::undoRepositoryChanges()
|
||||
{
|
||||
const VCSBase::VCSBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasTopLevel(), return)
|
||||
const QString msg = tr("Would you like to revert all pending changes to the repository\n%1?").arg(QDir::toNativeSeparators(state.topLevel()));
|
||||
const QString msg = tr("Revert 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,
|
||||
|
||||
@@ -632,7 +632,7 @@ void SubversionPlugin::revertAll()
|
||||
const VCSBase::VCSBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasTopLevel(), return)
|
||||
const QString title = tr("Revert repository");
|
||||
if (QMessageBox::warning(0, title, tr("Would you like to revert all changes to the repository?"),
|
||||
if (QMessageBox::warning(0, title, tr("Revert all pending changes to the repository?"),
|
||||
QMessageBox::Yes, QMessageBox::No) == QMessageBox::No)
|
||||
return;
|
||||
// NoteL: Svn "revert ." doesn not work.
|
||||
|
||||
Reference in New Issue
Block a user