From 1b62a10a35e6b0c00cf24d4969e4b17ca380e444 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 5 Apr 2016 15:11:30 +0200 Subject: [PATCH] Valgrind: Fix UI text - Fix typo in product name - Fix grammar issue - Use standard phrasing - Fix capitalization Change-Id: I0456c60943b51b19d5f03fb2908a7cc5af1f3595 Reviewed-by: hjk --- src/plugins/valgrind/callgrindtool.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp index 246fe188830..0caf1cad0ec 100644 --- a/src/plugins/valgrind/callgrindtool.cpp +++ b/src/plugins/valgrind/callgrindtool.cpp @@ -239,7 +239,7 @@ CallgrindTool::CallgrindTool(QObject *parent) m_stopAction = Debugger::createStopAction(); ActionDescription desc; - desc.setToolTip(tr("Valgrind Function Profile uses the " + desc.setToolTip(tr("Valgrind Function Profiler uses the " "Callgrind tool to record function calls when a program runs.")); if (!Utils::HostOsInfo::isWindowsHost()) { @@ -431,7 +431,7 @@ CallgrindTool::CallgrindTool(QObject *parent) // Show costs relative to parent m_costRelativeToParent = new QAction(tr("Relative Costs to Parent"), this); - m_costRelativeToParent->setToolTip(tr("Show costs relative to parent functions inclusive cost.")); + m_costRelativeToParent->setToolTip(tr("Show costs relative to parent function's inclusive cost.")); m_costRelativeToParent->setCheckable(true); connect(m_costRelativeToParent, &QAction::toggled, this, &CallgrindTool::updateCostFormat); group->addAction(m_costRelativeToParent); @@ -456,7 +456,7 @@ CallgrindTool::CallgrindTool(QObject *parent) // Shorter template signature action = m_shortenTemplates = new QAction(QLatin1String("<>"), this); - action->setToolTip(tr("This removes template parameter lists when displaying function names.")); + action->setToolTip(tr("Remove template parameter lists when displaying function names.")); action->setCheckable(true); connect(action, &QAction::toggled, &m_dataModel, &DataModel::setShortenTemplates); connect(action, &QAction::toggled, settings, &ValgrindGlobalSettings::setShortenTemplates); @@ -850,7 +850,7 @@ void CallgrindTool::requestContextMenu(TextEditorWidget *widget, int line, QMenu foreach (CallgrindTextMark *textMark, m_textMarks) { if (textMark->fileName() == widget->textDocument()->filePath().toString() && textMark->lineNumber() == line) { const Function *func = textMark->function(); - QAction *action = menu->addAction(tr("Select this Function in the Analyzer Output")); + QAction *action = menu->addAction(tr("Select This Function in the Analyzer Output")); connect(action, &QAction::triggered, this, [this, func] { selectFunction(func); }); break; }