From c09e80b8538cf072185a076b4aaf46ed51186bda Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 27 Feb 2014 21:58:46 +0200 Subject: [PATCH] Git: Replace %n with %1 in string There is no plural form in this message Change-Id: I85b584d4e53e68128279d50cb6b63e259f7a35b5 Reviewed-by: Tobias Hunger --- src/plugins/git/gitclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 507a11dbb4f..70d707813d4 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -2876,8 +2876,8 @@ QString GitClient::extendedShowDescription(const QString &workingDirectory, cons // If there are more than 20 branches, list first 10 followed by a hint if (branchCount > 20) { const int leave = 10; - //: Displayed after the untranslated message "Branches: branch1, branch2 'and %n more'" in git show. - moreBranches = QLatin1Char(' ') + tr("and %n more", 0, branchCount - leave); + //: Displayed after the untranslated message "Branches: branch1, branch2 'and %1 more'" in git show. + moreBranches = QLatin1Char(' ') + tr("and %1 more", 0, branchCount - leave); branches.erase(branches.begin() + leave, branches.end()); } if (!branches.isEmpty()) {