diff options
author | Leena Miettinen <riitta-leena.miettinen@digia.com> | 2013-10-09 17:25:21 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-10-10 15:29:54 +0200 |
commit | 2f7f1d904c33782e5a4b7604628b78c5a05498ee (patch) | |
tree | f57e3f491bb3044a1441f3ae68fcd44a18804d62 | |
parent | 3bf7578beb5e035d65194629fad3be76e48e28cd (diff) | |
download | qt-creator-2f7f1d904c33782e5a4b7604628b78c5a05498ee.tar.gz |
Valgrind: fix UI text capitalization and punctuation
Removed the asterisks from messages.
Change-Id: I1c8e95b6d6f77921f2908c4587af5ebfde5e86af
Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r-- | src/plugins/valgrind/callgrindtool.cpp | 2 | ||||
-rw-r--r-- | src/plugins/valgrind/memcheck/memcheckrunner.cpp | 4 | ||||
-rw-r--r-- | src/plugins/valgrind/memchecktool.cpp | 4 | ||||
-rw-r--r-- | src/plugins/valgrind/valgrindengine.cpp | 10 | ||||
-rw-r--r-- | src/plugins/valgrind/valgrindplugin.cpp | 4 |
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", |