forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.");
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user