protocolwidget: fix string that need to use plural translation

This commit is contained in:
Olivier Goffart 2014-10-22 18:26:40 +02:00
parent dab01e3f3f
commit de56b753d1

View file

@ -254,7 +254,7 @@ void ProtocolWidget::computeResyncButtonEnabled()
QString t = tr("Currently no files are ignored because of previous errors."); QString t = tr("Currently no files are ignored because of previous errors.");
if(cnt > 0) { if(cnt > 0) {
t = tr("%1 files are ignored because of previous errors.\n Try to sync these again.").arg(cnt); t = tr("%n files are ignored because of previous errors.\n Try to sync these again.", 0, cnt);
} }
_clearBlacklistBtn->setEnabled(cnt > 0); _clearBlacklistBtn->setEnabled(cnt > 0);