[Pkg-owncloud-commits] [owncloud-client] 180/211: protocolwidget: fix string that need to use plural translation

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit de56b753d19a6e04830a27e91275b64f5bbe7ceb
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed Oct 22 18:26:40 2014 +0200

    protocolwidget: fix string that need to use plural translation
---
 src/mirall/protocolwidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/protocolwidget.cpp b/src/mirall/protocolwidget.cpp
index 28c8426..0e05731 100644
--- a/src/mirall/protocolwidget.cpp
+++ b/src/mirall/protocolwidget.cpp
@@ -254,7 +254,7 @@ void ProtocolWidget::computeResyncButtonEnabled()
 
     QString t = tr("Currently no files are ignored because of previous errors.");
     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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list