From 67f32ea16e40d7bcfadda746da497c96fa1919f6 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 14 Jul 2014 12:17:38 +0200 Subject: UI text: capitalize "Open With" Because the preposition is the last word in the function or title. Change-Id: I3648f5723eaf63faef097ea80f30a4576136a4e8 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/editormanager/editormanager.cpp | 2 +- src/plugins/coreplugin/editormanager/iexternaleditor.cpp | 2 +- src/plugins/projectexplorer/foldernavigationwidget.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 1c3fe72bc7..b9a13dd56d 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -830,7 +830,7 @@ void EditorManager::addNativeDirAndOpenWithActions(QMenu *contextMenu, DocumentM contextMenu->addAction(d->m_openGraphicalShellAction); contextMenu->addAction(d->m_openTerminalAction); contextMenu->addAction(d->m_findInDirectoryAction); - QMenu *openWith = contextMenu->addMenu(tr("Open with")); + QMenu *openWith = contextMenu->addMenu(tr("Open With")); connect(openWith, SIGNAL(triggered(QAction*)), DocumentManager::instance(), SLOT(executeOpenWithMenuAction(QAction*))); openWith->setEnabled(enabled); diff --git a/src/plugins/coreplugin/editormanager/iexternaleditor.cpp b/src/plugins/coreplugin/editormanager/iexternaleditor.cpp index 53723745f8..98df2ff318 100644 --- a/src/plugins/coreplugin/editormanager/iexternaleditor.cpp +++ b/src/plugins/coreplugin/editormanager/iexternaleditor.cpp @@ -34,7 +34,7 @@ \mainclass \brief The IExternalEditor class enables registering an external - editor in the \gui{Open with} dialog. + editor in the \gui{Open With} dialog. */ /*! diff --git a/src/plugins/projectexplorer/foldernavigationwidget.cpp b/src/plugins/projectexplorer/foldernavigationwidget.cpp index 2f6dd7a9d9..07340cd8c1 100644 --- a/src/plugins/projectexplorer/foldernavigationwidget.cpp +++ b/src/plugins/projectexplorer/foldernavigationwidget.cpp @@ -343,7 +343,7 @@ void FolderNavigationWidget::contextMenuEvent(QContextMenuEvent *ev) actionFind->setEnabled(hasCurrentItem); // open with... if (hasCurrentItem && !isDirectory) { - QMenu *openWith = menu.addMenu(tr("Open with")); + QMenu *openWith = menu.addMenu(tr("Open With")); Core::DocumentManager::populateOpenWithMenu(openWith, m_fileSystemModel->filePath(current)); } -- cgit v1.2.1