From ccbadb2d37f44d0025e4474d05b2982403ee5447 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 15 Feb 2013 15:14:22 +0100 Subject: [PATCH] UI text: fix caps in CPP plugin actions Use book style capitalization, which means that prepositions less than 4 characters long are written in lower case. Change-Id: I6d46a2513070897929cf1a8af2943a17d8e52b2d Reviewed-by: David Schulz --- src/plugins/cppeditor/cppplugin.cpp | 2 +- src/plugins/cpptools/cpptoolsplugin.cpp | 2 +- src/plugins/texteditor/texteditoractionhandler.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/cppeditor/cppplugin.cpp b/src/plugins/cppeditor/cppplugin.cpp index eac6390c0b..0b1b6dd697 100644 --- a/src/plugins/cppeditor/cppplugin.cpp +++ b/src/plugins/cppeditor/cppplugin.cpp @@ -240,7 +240,7 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess cppToolsMenu->addAction(cmd); QAction *openDeclarationDefinitionInNextSplit = - new QAction(tr("Open Method Declaration/Definition In Next Split"), this); + new QAction(tr("Open Method Declaration/Definition in Next Split"), this); cmd = Core::ActionManager::registerAction(openDeclarationDefinitionInNextSplit, Constants::OPEN_DECLARATION_DEFINITION_IN_NEXT_SPLIT, context, true); cmd->setDefaultKeySequence(QKeySequence(Qt::CTRL + Qt::Key_E, Qt::Key_Shift + Qt::Key_F2)); diff --git a/src/plugins/cpptools/cpptoolsplugin.cpp b/src/plugins/cpptools/cpptoolsplugin.cpp index 05d604b29c..002b12120f 100644 --- a/src/plugins/cpptools/cpptoolsplugin.cpp +++ b/src/plugins/cpptools/cpptoolsplugin.cpp @@ -138,7 +138,7 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error) mcpptools->addAction(command); connect(switchAction, SIGNAL(triggered()), this, SLOT(switchHeaderSource())); - QAction *openInNextSplitAction = new QAction(tr("Open corresponding Header/Source in Next Split"), this); + QAction *openInNextSplitAction = new QAction(tr("Open Corresponding Header/Source in Next Split"), this); command = Core::ActionManager::registerAction(openInNextSplitAction, Constants::OPEN_HEADER_SOURCE_IN_NEXT_SPLIT, context, true); command->setDefaultKeySequence(QKeySequence(Qt::CTRL + Qt::Key_E, Qt::Key_F4)); mcpptools->addAction(command); diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 6c1b47d875..ccfaf0fd7e 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -391,7 +391,7 @@ void TextEditorActionHandler::createActions() command->setDefaultKeySequence(QKeySequence(Qt::Key_F2)); connect(m_followSymbolAction, SIGNAL(triggered()), this, SLOT(openLinkUnderCursor())); - m_followSymbolInNextSplitAction = new QAction(tr("Follow Symbol Under Cursor In Next Split"), this); + m_followSymbolInNextSplitAction = new QAction(tr("Follow Symbol Under Cursor in Next Split"), this); command = Core::ActionManager::registerAction(m_followSymbolInNextSplitAction, Constants::FOLLOW_SYMBOL_UNDER_CURSOR_IN_NEXT_SPLIT, m_contextId, true); command->setDefaultKeySequence(QKeySequence(Qt::CTRL + Qt::Key_E, Qt::Key_F2)); connect(m_followSymbolInNextSplitAction, SIGNAL(triggered()), this, SLOT(openLinkUnderCursorInNextSplit())); @@ -401,7 +401,7 @@ void TextEditorActionHandler::createActions() command->setDefaultKeySequence(QKeySequence(Qt::Key_F2)); connect(m_jumpToFileAction, SIGNAL(triggered()), this, SLOT(openLinkUnderCursor())); - m_jumpToFileInNextSplitAction = new QAction(tr("Jump To File Under Cursor In Next Split"), this); + m_jumpToFileInNextSplitAction = new QAction(tr("Jump to File Under Cursor in Next Split"), this); command = Core::ActionManager::registerAction(m_jumpToFileInNextSplitAction, Constants::JUMP_TO_FILE_UNDER_CURSOR_IN_NEXT_SPLIT, m_contextId, true); command->setDefaultKeySequence(QKeySequence(Qt::CTRL + Qt::Key_E, Qt::Key_F2)); connect(m_jumpToFileInNextSplitAction, SIGNAL(triggered()), this, SLOT(openLinkUnderCursorInNextSplit())); -- GitLab