OSDN Git Service

VCS: String update
authorTobias Hunger <tobias.hunger@nokia.com>
Fri, 8 Oct 2010 08:56:31 +0000 (10:56 +0200)
committerTobias Hunger <tobias.hunger@nokia.com>
Fri, 8 Oct 2010 12:30:33 +0000 (14:30 +0200)
String update as suggested by Leena.

src/plugins/cvs/cvsplugin.cpp
src/plugins/git/gitplugin.cpp
src/plugins/subversion/subversionplugin.cpp

index c904002..018e458 100644 (file)
@@ -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();
index b62a49e..b608c35 100644 (file)
@@ -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,
index 5e47b9d..05841df 100644 (file)
@@ -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.