summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2011-07-19 14:46:47 +0200
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>2011-07-19 15:54:50 +0200
commit8aea021dc38197a3539f46b7cf34ee9065044b23 (patch)
tree094874fd4e2cb60f927234868d1f061fc710f007
parent02d12edd4d38b4927a1f6feebf1f8c543281ef27 (diff)
downloadqt-creator-8aea021dc38197a3539f46b7cf34ee9065044b23.tar.gz
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>
-rw-r--r--src/plugins/coreplugin/mainwindow.cpp2
-rw-r--r--src/plugins/projectexplorer/showineditortaskhandler.cpp4
-rw-r--r--src/plugins/tasklist/stopmonitoringhandler.cpp2
-rw-r--r--src/plugins/texteditor/texteditoractionhandler.cpp4
4 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp
index c9c4232908..3106626d7c 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 e7f3ceb48a..6f28ab57e3 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 a7cccb64c0..e29989ce67 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 bcfc6e763c..d083fdfef4 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);