Use plurals in translations.

This commit is contained in:
Felix Geyer 2014-05-17 18:15:06 +02:00
parent 910788c038
commit 8cc1e6008e
3 changed files with 8 additions and 10 deletions

View file

@ -332,8 +332,7 @@ void DatabaseWidget::deleteEntries()
if (selected.size() > 1) {
QMessageBox::StandardButton result = MessageBox::question(
this, tr("Move entries to recycle bin?"),
tr("Do you really want to move %1 entries to the recycle bin?")
.arg(selected.size()),
tr("Do you really want to move %n entry(s) to the recycle bin?", 0, selected.size()),
QMessageBox::Yes | QMessageBox::No);
if (result == QMessageBox::No) {
return;