From 2f41680a6e7b3ab2d3f85f1b29e4ca2bf9b0707c Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 5 Mar 2009 12:42:17 +0100
Subject: [PATCH] Fixes:    git: surround filenames in the menu with double
 quotes Details:  more consistent with the File menu

---
 src/plugins/git/gitplugin.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp
index 22249e87dbf..2cf9e10275e 100644
--- a/src/plugins/git/gitplugin.cpp
+++ b/src/plugins/git/gitplugin.cpp
@@ -758,14 +758,14 @@ void GitPlugin::updateActions()
     const QString repository = m_gitClient->findRepositoryForFile(current.absoluteFilePath());
     // First check for file commands and if the current file is inside
     // a Git-repository
-    m_diffAction->setText(tr("Diff %1").arg(fileName));
-    m_statusAction->setText(tr("Status related to %1").arg(fileName));
-    m_logAction->setText(tr("Log %1").arg(fileName));
-    m_blameAction->setText(tr("Blame %1").arg(fileName));
-    m_undoFileAction->setText(tr("Undo changes for %1").arg(fileName));
-    m_stageAction->setText(tr("Stage %1 for commit").arg(fileName));
-    m_unstageAction->setText(tr("Unstage %1 from commit").arg(fileName));
-    m_revertAction->setText(tr("Revert %1...").arg(fileName));
+    m_diffAction->setText(tr("Diff \"%1\"").arg(fileName));
+    m_statusAction->setText(tr("Status related to \"%1\"").arg(fileName));
+    m_logAction->setText(tr("Log \"%1\"").arg(fileName));
+    m_blameAction->setText(tr("Blame \"%1\"").arg(fileName));
+    m_undoFileAction->setText(tr("Undo changes for \"%1\"").arg(fileName));
+    m_stageAction->setText(tr("Stage \"%1\" for commit").arg(fileName));
+    m_unstageAction->setText(tr("Unstage \"%1\" from commit").arg(fileName));
+    m_revertAction->setText(tr("Revert \"%1\"...").arg(fileName));
     if (repository.isEmpty()) {
         // If the file is not in a repository, the corresponding project will
         // be neither and we can disable everything and return
-- 
GitLab