Commit b45ade7d authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Tobias Hunger
Browse files

tr-fixes in QtOptionsPage.



- Message box title capitalization
- Fix some wordings

Change-Id: Ia1dd92ba8fd4ec4f287ad33401a765aacadd19db
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent c08fd3a2
...@@ -631,7 +631,7 @@ void QtOptionsPageWidget::addQtDir() ...@@ -631,7 +631,7 @@ void QtOptionsPageWidget::addQtDir()
{ {
Utils::FileName qtVersion = Utils::FileName::fromString( Utils::FileName qtVersion = Utils::FileName::fromString(
QFileDialog::getOpenFileName(this, QFileDialog::getOpenFileName(this,
tr("Select a qmake executable"), tr("Select a qmake Executable"),
QString(), QString(),
filterForQmakeFileDialog(), filterForQmakeFileDialog(),
0, 0,
...@@ -647,7 +647,7 @@ void QtOptionsPageWidget::addQtDir() ...@@ -647,7 +647,7 @@ void QtOptionsPageWidget::addQtDir()
} }
if (version) { if (version) {
// Already exist // Already exist
QMessageBox::warning(this, tr("Qt known"), QMessageBox::warning(this, tr("Qt Version Already Known"),
tr("This Qt version was already registered as \"%1\".") tr("This Qt version was already registered as \"%1\".")
.arg(version->displayName())); .arg(version->displayName()));
return; return;
...@@ -668,8 +668,8 @@ void QtOptionsPageWidget::addQtDir() ...@@ -668,8 +668,8 @@ void QtOptionsPageWidget::addQtDir()
m_versionUi->nameEdit->setFocus(); m_versionUi->nameEdit->setFocus();
m_versionUi->nameEdit->selectAll(); m_versionUi->nameEdit->selectAll();
} else { } else {
QMessageBox::warning(this, tr("Qmake not executable"), QMessageBox::warning(this, tr("Qmake not Executable"),
tr("The qmake %1 could not be added: %2").arg(qtVersion.toUserOutput()).arg(error)); tr("The qmake executable %1 could not be added: %2").arg(qtVersion.toUserOutput()).arg(error));
return; return;
} }
updateCleanUpButton(); updateCleanUpButton();
...@@ -710,7 +710,7 @@ void QtOptionsPageWidget::editPath() ...@@ -710,7 +710,7 @@ void QtOptionsPageWidget::editPath()
if (current->type() != version->type()) { if (current->type() != version->type()) {
// not the same type, error out // not the same type, error out
QMessageBox::critical(this, tr("Incompatible Qt Versions"), QMessageBox::critical(this, tr("Incompatible Qt Versions"),
tr("The Qt version selected must be for the same device type."), tr("The Qt version selected must match the device type."),
QMessageBox::Ok); QMessageBox::Ok);
delete version; delete version;
return; return;
......
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