зеркало из https://github.com/nextcloud/desktop.git
protocolwidget: fix string that need to use plural translation
This commit is contained in:
Родитель
dab01e3f3f
Коммит
de56b753d1
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче