Fix typos in source strings

Reviewed-by: Pawel Polanski
This commit is contained in:
Jarek Kobus
2011-03-31 16:30:37 +02:00
parent dc1ce25422
commit 148e389587
6 changed files with 10 additions and 10 deletions

View File

@@ -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;

View File

@@ -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);

View File

@@ -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)

View File

@@ -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;
} }

View File

@@ -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,