diff --git a/src/plugins/ios/iossettingswidget.cpp b/src/plugins/ios/iossettingswidget.cpp index 0cb54bd28bc..02168a79add 100644 --- a/src/plugins/ios/iossettingswidget.cpp +++ b/src/plugins/ios/iossettingswidget.cpp @@ -119,7 +119,7 @@ void IosSettingsWidget::onStart() QPointer statusDialog = new SimulatorOperationDialog(this); statusDialog->setAttribute(Qt::WA_DeleteOnClose); - statusDialog->addMessage(tr("Starting simulator devices...", "", simulatorInfoList.count()), + statusDialog->addMessage(tr("Starting %n simulator device(s)...", "", simulatorInfoList.count()), Utils::NormalMessageFormat); QList> futureList; @@ -185,7 +185,7 @@ void IosSettingsWidget::onReset() const int userInput = QMessageBox::question(this, tr("Reset"), tr("Do you really want to reset the contents and settings" - " of the selected devices?", "", + " of the %n selected device(s)?", "", simulatorInfoList.count())); if (userInput == QMessageBox::No) return; @@ -242,14 +242,14 @@ void IosSettingsWidget::onDelete() return; const int userInput = QMessageBox::question(this, tr("Delete Device"), - tr("Do you really want to delete the selected " - "devices?", "", simulatorInfoList.count())); + tr("Do you really want to delete the %n selected " + "device(s)?", "", simulatorInfoList.count())); if (userInput == QMessageBox::No) return; QPointer statusDialog = new SimulatorOperationDialog(this); statusDialog->setAttribute(Qt::WA_DeleteOnClose); - statusDialog->addMessage(tr("Deleting simulator devices...", "", simulatorInfoList.count()), + statusDialog->addMessage(tr("Deleting %n simulator device(s)...", "", simulatorInfoList.count()), Utils::NormalMessageFormat); QList> futureList; foreach (const SimulatorInfo &info, simulatorInfoList) { @@ -280,7 +280,7 @@ void IosSettingsWidget::onScreenshot() QPointer statusDialog = new SimulatorOperationDialog(this); statusDialog->setAttribute(Qt::WA_DeleteOnClose); - statusDialog->addMessage(tr("Capturing screenshots from devices...", "", + statusDialog->addMessage(tr("Capturing screenshots from %n device(s)...", "", simulatorInfoList.count()), Utils::NormalMessageFormat); QList> futureList; foreach (const SimulatorInfo &info, simulatorInfoList) {