forked from qt-creator/qt-creator
UI text: capitalize "Open With"
Because the preposition is the last word in the function or title. Change-Id: I3648f5723eaf63faef097ea80f30a4576136a4e8 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -830,7 +830,7 @@ void EditorManager::addNativeDirAndOpenWithActions(QMenu *contextMenu, DocumentM
|
|||||||
contextMenu->addAction(d->m_openGraphicalShellAction);
|
contextMenu->addAction(d->m_openGraphicalShellAction);
|
||||||
contextMenu->addAction(d->m_openTerminalAction);
|
contextMenu->addAction(d->m_openTerminalAction);
|
||||||
contextMenu->addAction(d->m_findInDirectoryAction);
|
contextMenu->addAction(d->m_findInDirectoryAction);
|
||||||
QMenu *openWith = contextMenu->addMenu(tr("Open with"));
|
QMenu *openWith = contextMenu->addMenu(tr("Open With"));
|
||||||
connect(openWith, SIGNAL(triggered(QAction*)),
|
connect(openWith, SIGNAL(triggered(QAction*)),
|
||||||
DocumentManager::instance(), SLOT(executeOpenWithMenuAction(QAction*)));
|
DocumentManager::instance(), SLOT(executeOpenWithMenuAction(QAction*)));
|
||||||
openWith->setEnabled(enabled);
|
openWith->setEnabled(enabled);
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
\mainclass
|
\mainclass
|
||||||
|
|
||||||
\brief The IExternalEditor class enables registering an external
|
\brief The IExternalEditor class enables registering an external
|
||||||
editor in the \gui{Open with} dialog.
|
editor in the \gui{Open With} dialog.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ void FolderNavigationWidget::contextMenuEvent(QContextMenuEvent *ev)
|
|||||||
actionFind->setEnabled(hasCurrentItem);
|
actionFind->setEnabled(hasCurrentItem);
|
||||||
// open with...
|
// open with...
|
||||||
if (hasCurrentItem && !isDirectory) {
|
if (hasCurrentItem && !isDirectory) {
|
||||||
QMenu *openWith = menu.addMenu(tr("Open with"));
|
QMenu *openWith = menu.addMenu(tr("Open With"));
|
||||||
Core::DocumentManager::populateOpenWithMenu(openWith,
|
Core::DocumentManager::populateOpenWithMenu(openWith,
|
||||||
m_fileSystemModel->filePath(current));
|
m_fileSystemModel->filePath(current));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user