From 8aea021dc38197a3539f46b7cf34ee9065044b23 Mon Sep 17 00:00:00 2001
From: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Date: Tue, 19 Jul 2011 14:46:47 +0200
Subject: [PATCH] UI text: fix capitalization and terminology

Change-Id: Ieb52b4e2e6e8b5835219ecc4f6fe7907539e5bdb
Reviewed-on: http://codereview.qt.nokia.com/1827
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
---
 src/plugins/coreplugin/mainwindow.cpp                   | 2 +-
 src/plugins/projectexplorer/showineditortaskhandler.cpp | 4 ++--
 src/plugins/tasklist/stopmonitoringhandler.cpp          | 2 +-
 src/plugins/texteditor/texteditoractionhandler.cpp      | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp
index c9c42329085..3106626d7c0 100644
--- a/src/plugins/coreplugin/mainwindow.cpp
+++ b/src/plugins/coreplugin/mainwindow.cpp
@@ -710,7 +710,7 @@ void MainWindow::registerDefaultActions()
 
     // Goto Action
     icon = QIcon::fromTheme(QLatin1String("go-jump"));
-    tmpaction = new QAction(icon, tr("&Go To Line..."), this);
+    tmpaction = new QAction(icon, tr("&Go to Line..."), this);
     cmd = am->registerAction(tmpaction, Constants::GOTO, globalContext);
     cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+L")));
     medit->addAction(cmd, Constants::G_EDIT_OTHER);
diff --git a/src/plugins/projectexplorer/showineditortaskhandler.cpp b/src/plugins/projectexplorer/showineditortaskhandler.cpp
index e7f3ceb48ab..6f28ab57e38 100644
--- a/src/plugins/projectexplorer/showineditortaskhandler.cpp
+++ b/src/plugins/projectexplorer/showineditortaskhandler.cpp
@@ -62,7 +62,7 @@ void ShowInEditorTaskHandler::handle(const ProjectExplorer::Task &task)
 
 QAction *ShowInEditorTaskHandler::createAction(QObject *parent)
 {
-    QAction *showAction = new QAction(tr("&Show in editor"), parent);
-    showAction->setToolTip(tr("Show task location in an editor"));
+    QAction *showAction = new QAction(tr("&Show in Editor"), parent);
+    showAction->setToolTip(tr("Show task location in an editor."));
     return showAction;
 }
diff --git a/src/plugins/tasklist/stopmonitoringhandler.cpp b/src/plugins/tasklist/stopmonitoringhandler.cpp
index a7cccb64c0a..e29989ce67d 100644
--- a/src/plugins/tasklist/stopmonitoringhandler.cpp
+++ b/src/plugins/tasklist/stopmonitoringhandler.cpp
@@ -69,7 +69,7 @@ QAction *StopMonitoringHandler::createAction(QObject *parent)
 {
     const QString text =
             QCoreApplication::translate("TaskList::Internal::StopMonitoringHandler",
-                                        "Stop monitoring");
+                                        "Stop Monitoring");
     const QString toolTip =
             QCoreApplication::translate("TaskList::Internal::StopMonitoringHandler",
                                         "Stop monitoring task files.");
diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp
index bcfc6e763ce..d083fdfef4d 100644
--- a/src/plugins/texteditor/texteditoractionhandler.cpp
+++ b/src/plugins/texteditor/texteditoractionhandler.cpp
@@ -194,7 +194,7 @@ void TextEditorActionHandler::createActions()
     connect(m_textWrappingAction, SIGNAL(triggered(bool)), this, SLOT(setTextWrapping(bool)));
 
 
-    m_unCommentSelectionAction = new QAction(tr("(Un)Comment &Selection"), this);
+    m_unCommentSelectionAction = new QAction(tr("Toggle Comment &Selection"), this);
     m_modifyingActions << m_unCommentSelectionAction;
     command = am->registerAction(m_unCommentSelectionAction, Constants::UN_COMMENT_SELECTION, m_contextId, true);
     command->setDefaultKeySequence(QKeySequence(tr("Ctrl+/")));
@@ -229,7 +229,7 @@ void TextEditorActionHandler::createActions()
     connect(m_unfoldAction, SIGNAL(triggered()), this, SLOT(unfold()));
     advancedMenu->addAction(command, Core::Constants::G_EDIT_COLLAPSING);
 
-    m_unfoldAllAction = new QAction(tr("(Un)&Fold All"), this);
+    m_unfoldAllAction = new QAction(tr("Toggle &Fold All"), this);
     command = am->registerAction(m_unfoldAllAction, Constants::UNFOLD_ALL, m_contextId, true);
     connect(m_unfoldAllAction, SIGNAL(triggered()), this, SLOT(unfoldAll()));
     advancedMenu->addAction(command, Core::Constants::G_EDIT_COLLAPSING);
-- 
GitLab