[Pkg-owncloud-commits] [owncloud-client] 285/470: Not Synced Tab: Use tr rather than string concat

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:14 UTC 2016


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 8f7b833c12edde113c3b2a11d92f6e9efba667a0
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Thu Apr 7 09:18:51 2016 +0200

    Not Synced Tab: Use tr rather than string concat
---
 src/gui/activitywidget.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index 5bcb451..a15c2f7 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -556,7 +556,8 @@ void ActivitySettings::slotShowIssueItemCount(int cnt)
 {
     QString cntText = tr("Not Synced");
     if( cnt ) {
-        cntText += QLatin1String(" (") + QString::number(cnt) + QLatin1String(")");
+        //: %1 is the number of not synced files.
+        cntText = tr("Not Synced (%1)").arg(cnt);
     }
     _tab->tabBar()->setTabText(_syncIssueTabId, cntText);
 }

-- 
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