UI text: fix caps and punctuation in QNX text

Change-Id: I5f09a1275806b93f777b6f6e8ebb3cad9cf1fa05
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Leena Miettinen
2013-05-16 16:11:36 +02:00
parent e31cb4e4a4
commit 6a29734714
2 changed files with 7 additions and 7 deletions

View File

@@ -116,7 +116,7 @@ bool BlackBerryConfiguration::refresh()
if (!simulatorGdbPath.toFileInfo().exists()) if (!simulatorGdbPath.toFileInfo().exists())
errorMessage += QLatin1Char('\n') + 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"), QMessageBox::warning(0, tr("Cannot Set up BB10 Configuration"),
errorMessage, QMessageBox::Ok); errorMessage, QMessageBox::Ok);
return false; return false;
} }
@@ -305,14 +305,14 @@ QtSupport::BaseQtVersion *BlackBerryConfiguration::createQtVersion()
QtSupport::BaseQtVersion *version = QtSupport::QtVersionManager::instance()->qtVersionForQMakeBinary(m_config.qmakeBinaryFile); QtSupport::BaseQtVersion *version = QtSupport::QtVersionManager::instance()->qtVersionForQMakeBinary(m_config.qmakeBinaryFile);
if (version) { if (version) {
QMessageBox::warning(0, tr("Qt Version Already Known"), QMessageBox::warning(0, tr("Qt Version Already Known"),
tr("This Qt version was already registered"), QMessageBox::Ok); tr("This Qt version was already registered."), QMessageBox::Ok);
return version; return version;
} }
version = new BlackBerryQtVersion(QnxUtils::cpudirToArch(cpuDir), m_config.qmakeBinaryFile, false, QString(), m_config.ndkPath); version = new BlackBerryQtVersion(QnxUtils::cpudirToArch(cpuDir), m_config.qmakeBinaryFile, false, QString(), m_config.ndkPath);
if (!version) { if (!version) {
QMessageBox::warning(0, tr("Invalid Qt version"), QMessageBox::warning(0, tr("Invalid Qt Version"),
tr("Unable to add BlackBerry Qt version"), QMessageBox::Ok); tr("Unable to add BlackBerry Qt version."), QMessageBox::Ok);
return 0; return 0;
} }
@@ -329,7 +329,7 @@ ProjectExplorer::GccToolChain *BlackBerryConfiguration::createGccToolChain()
foreach (ProjectExplorer::ToolChain* tc, ProjectExplorer::ToolChainManager::instance()->toolChains()) { foreach (ProjectExplorer::ToolChain* tc, ProjectExplorer::ToolChainManager::instance()->toolChains()) {
if (tc->compilerCommand() == m_config.gccCompiler) { if (tc->compilerCommand() == m_config.gccCompiler) {
QMessageBox::warning(0, tr("Compiler Already Known"), QMessageBox::warning(0, tr("Compiler Already Known"),
tr("This Compiler was already registered"), QMessageBox::Ok); tr("This compiler was already registered."), QMessageBox::Ok);
return dynamic_cast<ProjectExplorer::GccToolChain*>(tc); return dynamic_cast<ProjectExplorer::GccToolChain*>(tc);
} }
} }
@@ -356,7 +356,7 @@ ProjectExplorer::Kit *BlackBerryConfiguration::createKit(QnxArchitecture arch, Q
&& Debugger::DebuggerKitInformation::debuggerCommand(kit) == m_config.simulatorDebuger) && Debugger::DebuggerKitInformation::debuggerCommand(kit) == m_config.simulatorDebuger)
|| (arch == ArmLeV7 && Debugger::DebuggerKitInformation::debuggerCommand(kit) == m_config.deviceDebuger)) { || (arch == ArmLeV7 && Debugger::DebuggerKitInformation::debuggerCommand(kit) == m_config.deviceDebuger)) {
QMessageBox::warning(0, tr("Kit Already Known"), QMessageBox::warning(0, tr("Kit Already Known"),
tr("This Kit was already registered"), QMessageBox::Ok); tr("This kit was already registered."), QMessageBox::Ok);
return kit; return kit;
} }
} }

View File

@@ -106,7 +106,7 @@ bool QNXPlugin::initialize(const QStringList &arguments, QString *errorString)
barDescriptorMimeType.setSubClassesOf(QStringList() << QLatin1String("application/xml")); barDescriptorMimeType.setSubClassesOf(QStringList() << QLatin1String("application/xml"));
if (!Core::ICore::mimeDatabase()->addMimeType(barDescriptorMimeType)) { if (!Core::ICore::mimeDatabase()->addMimeType(barDescriptorMimeType)) {
*errorString = tr("Could not add mime-type for bar-descriptor.xml editor"); *errorString = tr("Could not add mime-type for bar-descriptor.xml editor.");
return false; return false;
} }
addAutoReleasedObject(new BarDescriptorEditorFactory); addAutoReleasedObject(new BarDescriptorEditorFactory);