pluralisation

This commit is contained in:
tooomm 2016-06-17 16:12:41 +02:00 committed by GitHub
parent f6a3551168
commit bfbbedd604

View file

@ -788,9 +788,9 @@ void MainWindow::cardDatabaseNewSetsFound(int numUnknownSets, QStringList unknow
msgBox.setWindowTitle(tr("New sets found")); msgBox.setWindowTitle(tr("New sets found"));
msgBox.setIcon(QMessageBox::Question); msgBox.setIcon(QMessageBox::Question);
msgBox.setText( msgBox.setText(
tr("%1 new sets found in the card database\n" tr("%1 new set(s) found in the card database\n"
"Set codes: %2\n" "Set code(s): %2\n"
"Do you want to enable them?" "Do you want to enable it/them?"
).arg(numUnknownSets).arg(unknownSetsNames.join(", "))); ).arg(numUnknownSets).arg(unknownSetsNames.join(", ")));
QPushButton *yesButton = msgBox.addButton(tr("Yes"), QMessageBox::YesRole); QPushButton *yesButton = msgBox.addButton(tr("Yes"), QMessageBox::YesRole);