Fix configuration error messages in QNX.

- Remove newline character from translated strings.
- Add punctuation.
- Use GDB instead of Gdb.

Change-Id: Iabb36378640fc50580771134c4adf0094542b704
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Friedemann Kleint
2013-02-12 09:35:55 +01:00
parent c2f52e97e4
commit 4402d7dab0

View File

@@ -94,18 +94,18 @@ bool BlackBerryConfiguration::setConfig(const QString &ndkPath)
if (!qmakePath.toFileInfo().exists() || !gccPath.toFileInfo().exists()
|| !deviceGdbPath.toFileInfo().exists() || !simulatorGdbPath.toFileInfo().exists() ) {
QString errorMessage = tr("The following errors occurred while setting up BB10 Configuration:\n");
QString errorMessage = tr("The following errors occurred while setting up BB10 Configuration:");
if (!qmakePath.toFileInfo().exists())
errorMessage += tr("- No Qt version found\n");
errorMessage += QLatin1Char('\n') + tr("- No Qt version found.");
if (!gccPath.toFileInfo().exists())
errorMessage += tr("- No GCC compiler found\n");
errorMessage += QLatin1Char('\n') + tr("- No GCC compiler found.");
if (!deviceGdbPath.toFileInfo().exists())
errorMessage += tr("- No Gdb debugger found for BB10 Device\n");
errorMessage += QLatin1Char('\n') + tr("- No GDB debugger found for BB10 Device.");
if (!simulatorGdbPath.toFileInfo().exists())
errorMessage += tr("- No Gdb debugger found for BB10 Simulator");
errorMessage += QLatin1Char('\n') + tr("- No GDB debugger found for BB10 Simulator.");
QMessageBox::warning(0, tr("Cannot Setup BB10 Configuration"),
errorMessage, QMessageBox::Ok);