summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/valgrind/callgrindtool.cpp2
-rw-r--r--src/plugins/valgrind/memcheck/memcheckrunner.cpp4
-rw-r--r--src/plugins/valgrind/memchecktool.cpp4
-rw-r--r--src/plugins/valgrind/valgrindengine.cpp10
-rw-r--r--src/plugins/valgrind/valgrindplugin.cpp4
5 files changed, 12 insertions, 12 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp
index 9621f9cb87..d39eb81974 100644
--- a/src/plugins/valgrind/callgrindtool.cpp
+++ b/src/plugins/valgrind/callgrindtool.cpp
@@ -668,7 +668,7 @@ QWidget *CallgrindToolPrivate::createWidgets()
// load external XML log file
action = new QAction(this);
action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_OPENFILE)));
- action->setToolTip(tr("Load External XML Log File."));
+ action->setToolTip(tr("Load External XML Log File"));
connect(action, SIGNAL(triggered(bool)), this, SLOT(loadExternalXmlLogFile()));
layout->addWidget(createToolButton(action));
m_loadExternalLogFile = action;
diff --git a/src/plugins/valgrind/memcheck/memcheckrunner.cpp b/src/plugins/valgrind/memcheck/memcheckrunner.cpp
index cb3608f01c..6827f6b47d 100644
--- a/src/plugins/valgrind/memcheck/memcheckrunner.cpp
+++ b/src/plugins/valgrind/memcheck/memcheckrunner.cpp
@@ -130,7 +130,7 @@ bool MemcheckRunner::start()
QVBoxLayout *layout = new QVBoxLayout;
QLabel *description = new QLabel;
description->setWordWrap(true);
- description->setText(tr("More than one network interface was found on your machine. Please select which one you want to use for remote analysis."));
+ description->setText(tr("More than one network interface was found on your machine. Please select the one you want to use for remote analysis."));
layout->addWidget(description);
QListWidget *list = new QListWidget;
foreach (const QHostAddress &address, possibleHostAddresses)
@@ -151,7 +151,7 @@ bool MemcheckRunner::start()
dlg.setLayout(layout);
if (dlg.exec() != QDialog::Accepted) {
- emit processErrorReceived(tr("No Network Interface was chosen for remote analysis"), QProcess::FailedToStart);
+ emit processErrorReceived(tr("No network interface was chosen for remote analysis."), QProcess::FailedToStart);
return false;
}
diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp
index 8641aa53d0..2ed52c0745 100644
--- a/src/plugins/valgrind/memchecktool.cpp
+++ b/src/plugins/valgrind/memchecktool.cpp
@@ -380,7 +380,7 @@ QWidget *MemcheckTool::createWidgets()
// Load external XML log file
action = new QAction(this);
action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_OPENFILE)));
- action->setToolTip(tr("Load External XML Log File."));
+ action->setToolTip(tr("Load External XML Log File"));
connect(action, SIGNAL(triggered(bool)), this, SLOT(loadExternalXmlLogFile()));
button = new QToolButton;
button->setDefaultAction(action);
@@ -532,7 +532,7 @@ void MemcheckTool::parserError(const Valgrind::XmlProtocol::Error &error)
void MemcheckTool::internalParserError(const QString &errorString)
{
QMessageBox::critical(m_errorView, tr("Internal Error"),
- tr("Error occurred parsing valgrind output: %1").arg(errorString));
+ tr("Error occurred parsing Valgrind output: %1").arg(errorString));
}
void MemcheckTool::clearErrorView()
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp
index b36d5230c0..337fee3a09 100644
--- a/src/plugins/valgrind/valgrindengine.cpp
+++ b/src/plugins/valgrind/valgrindengine.cpp
@@ -97,7 +97,7 @@ bool ValgrindRunControl::startEngine()
#if VALGRIND_DEBUG_OUTPUT
emit outputReceived(tr("Valgrind options: %1").arg(toolArguments().join(QLatin1Char(' '))), DebugFormat);
emit outputReceived(tr("Working directory: %1").arg(sp.workingDirectory), DebugFormat);
- emit outputReceived(tr("Commandline arguments: %1").arg(sp.debuggeeArgs), DebugFormat);
+ emit outputReceived(tr("Command line arguments: %1").arg(sp.debuggeeArgs), DebugFormat);
#endif
ValgrindRunner *run = runner();
@@ -173,7 +173,7 @@ void ValgrindRunControl::handleProgressFinished()
void ValgrindRunControl::runnerFinished()
{
- appendMessage(tr("** Analyzing finished **\n"), NormalMessageFormat);
+ appendMessage(tr("Analyzing finished.\n"), NormalMessageFormat);
emit finished();
m_progress->reportFinished();
@@ -200,11 +200,11 @@ void ValgrindRunControl::receiveProcessError(const QString &message, QProcess::P
if (error == QProcess::FailedToStart) {
const QString valgrind = m_settings->valgrindExecutable();
if (!valgrind.isEmpty())
- appendMessage(tr("** Error: \"%1\" could not be started: %2 **\n").arg(valgrind).arg(message), ErrorMessageFormat);
+ appendMessage(tr("Error: \"%1\" could not be started: %2\n").arg(valgrind).arg(message), ErrorMessageFormat);
else
- appendMessage(tr("** Error: no valgrind executable set **\n"), ErrorMessageFormat);
+ appendMessage(tr("Error: no Valgrind executable set.\n"), ErrorMessageFormat);
} else if (m_isStopping && error == QProcess::Crashed) { // process gets killed on stop
- appendMessage(tr("** Process Terminated **\n"), ErrorMessageFormat);
+ appendMessage(tr("Process terminated.\n"), ErrorMessageFormat);
} else {
appendMessage(QString::fromLatin1("** %1 **\n").arg(message), ErrorMessageFormat);
}
diff --git a/src/plugins/valgrind/valgrindplugin.cpp b/src/plugins/valgrind/valgrindplugin.cpp
index aaa566d3c9..f7392831e3 100644
--- a/src/plugins/valgrind/valgrindplugin.cpp
+++ b/src/plugins/valgrind/valgrindplugin.cpp
@@ -111,7 +111,7 @@ bool ValgrindPlugin::initialize(const QStringList &, QString *)
"\"callgrind\" tool to record function calls when a program runs.");
QString memcheckToolTip = tr("Valgrind Analyze Memory uses the "
- "\"memcheck\" tool to find memory leaks");
+ "\"memcheck\" tool to find memory leaks.");
if (!Utils::HostOsInfo::isWindowsHost()) {
action = new ValgrindAction;
@@ -173,7 +173,7 @@ void ValgrindPlugin::extensionsInitialized()
Context analyzerContext = Context(Analyzer::Constants::C_ANALYZEMODE);
editorContextMenu->addSeparator(analyzerContext);
- QAction *action = new QAction(tr("Profile Costs of this Function and its Callees"), this);
+ QAction *action = new QAction(tr("Profile Costs of This Function and Its Callees"), this);
action->setIcon(QIcon(QLatin1String(Analyzer::Constants::ANALYZER_CONTROL_START_ICON)));
connect(action, SIGNAL(triggered()), m_callgrindTool, SLOT(handleShowCostsOfFunction()));
Command *cmd = ActionManager::registerAction(action, "Analyzer.Callgrind.ShowCostsOfFunction",