Commit 148e3895 authored by Jarek Kobus's avatar Jarek Kobus

Fix typos in source strings

Reviewed-by: Pawel Polanski
parent dc1ce254
...@@ -645,7 +645,7 @@ void IPCEngineHost::readyRead() ...@@ -645,7 +645,7 @@ void IPCEngineHost::readyRead()
char terminator; char terminator;
m_device->getChar(&terminator); m_device->getChar(&terminator);
if (terminator != 'T') { if (terminator != 'T') {
showStatusMessage(tr("Fatal engine shutdown. Incompatible binary or ipc error.")); showStatusMessage(tr("Fatal engine shutdown. Incompatible binary or IPC error."));
showMessage(QLatin1String("IPC Error: terminator missing")); showMessage(QLatin1String("IPC Error: terminator missing"));
nuke(); nuke();
return; return;
......
...@@ -108,7 +108,7 @@ public: ...@@ -108,7 +108,7 @@ public:
layout->setContentsMargins(3, 0, 3, 0); layout->setContentsMargins(3, 0, 3, 0);
layout->setSpacing(2); layout->setSpacing(2);
m_patience->setToolTip(tr("Use the patience algorithmn for calculating the diff")); m_patience->setToolTip(tr("Use the patience algorithm for calculating the diff"));
m_patience->setText(tr("Patience")); m_patience->setText(tr("Patience"));
layout->addWidget(m_patience); layout->addWidget(m_patience);
m_patience->setCheckable(true); m_patience->setCheckable(true);
......
...@@ -238,7 +238,7 @@ MemcheckTool::MemcheckTool(QObject *parent) : ...@@ -238,7 +238,7 @@ MemcheckTool::MemcheckTool(QObject *parent) :
m_filterProjectAction->setCheckable(true); m_filterProjectAction->setCheckable(true);
m_suppressionSeparator->setSeparator(true); m_suppressionSeparator->setSeparator(true);
m_suppressionSeparator->setToolTip(tr("These suppression files where used in the last memory analyzer run.")); m_suppressionSeparator->setToolTip(tr("These suppression files were used in the last memory analyzer run."));
} }
void MemcheckTool::settingsDestroyed(QObject *settings) void MemcheckTool::settingsDestroyed(QObject *settings)
......
...@@ -585,7 +585,7 @@ QStringList MaemoPublisherFremantleFree::findProblems() const ...@@ -585,7 +585,7 @@ QStringList MaemoPublisherFremantleFree::findProblems() const
= qobject_cast<Qt4Maemo5Target *>(m_buildConfig->target()); = qobject_cast<Qt4Maemo5Target *>(m_buildConfig->target());
const QString &description = target->shortDescription(); const QString &description = target->shortDescription();
if (description.trimmed().isEmpty()) { if (description.trimmed().isEmpty()) {
problems << tr("The package description is empty. You must set one " problems << tr("The package description is empty. You must set one "
"in Projects -> Run -> Create Package -> Details."); "in Projects -> Run -> Create Package -> Details.");
} else if (description.contains(QLatin1String("insert up to"))) { } else if (description.contains(QLatin1String("insert up to"))) {
problems << tr("The package description is '%1', which is probably " problems << tr("The package description is '%1', which is probably "
......
...@@ -181,20 +181,20 @@ public: ...@@ -181,20 +181,20 @@ public:
: m_settingsPage(settingsPage) : m_settingsPage(settingsPage)
{ {
setWindowTitle(tr("Qemu error")); setWindowTitle(tr("Qemu error"));
QString message = tr("Qemu crashed."); QString message = tr("Qemu crashed.") + QLatin1String(" <p>");
const MaemoQemuSettings::OpenGlMode openGlMode const MaemoQemuSettings::OpenGlMode openGlMode
= MaemoQemuSettings::openGlMode(); = MaemoQemuSettings::openGlMode();
const QString linkString = QLatin1String("<p><a href=\"dummy\">") const QString linkString = QLatin1String("</p><a href=\"dummy\">")
+ tr("Click here to change the OpenGL mode.") + tr("Click here to change the OpenGL mode.")
+ QLatin1String("</a>"); + QLatin1String("</a>");
if (openGlMode == MaemoQemuSettings::HardwareAcceleration) { if (openGlMode == MaemoQemuSettings::HardwareAcceleration) {
message += tr("<p>You have configured Qemu to use OpenGL " message += tr("You have configured Qemu to use OpenGL "
"hardware acceleration, which might not be supported by " "hardware acceleration, which might not be supported by "
"your system. You could try using software rendering instead."); "your system. You could try using software rendering instead.");
message += linkString; message += linkString;
} else if (openGlMode == MaemoQemuSettings::AutoDetect) { } else if (openGlMode == MaemoQemuSettings::AutoDetect) {
message += tr("<p>Qemu is currently configured to auto-detect the " message += tr("Qemu is currently configured to auto-detect the "
"OpenGL mode, which is known to not work in some cases." "OpenGL mode, which is known to not work in some cases. "
"You might want to use software rendering instead."); "You might want to use software rendering instead.");
message += linkString; message += linkString;
} }
......
...@@ -149,7 +149,7 @@ bool S60RunControlBase::promptToStop(bool *optionalPrompt) const ...@@ -149,7 +149,7 @@ bool S60RunControlBase::promptToStop(bool *optionalPrompt) const
// We override the settings prompt // We override the settings prompt
QTC_ASSERT(isRunning(), return true;) QTC_ASSERT(isRunning(), return true;)
const QString question = tr("<html><head/><body><center><i>%1</i> is still running on the device.<center/>" const QString question = tr("<html><head/><body><center><i>%1</i> is still running on the device.</center>"
"<center>Terminating it can leave the target in an inconsistent state.</center>" "<center>Terminating it can leave the target in an inconsistent state.</center>"
"<center>Would you still like to terminate it?</center></body></html>").arg(displayName()); "<center>Would you still like to terminate it?</center></body></html>").arg(displayName());
return showPromptToStopDialog(tr("Application Still Running"), question, return showPromptToStopDialog(tr("Application Still Running"), question,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment