diff options
Diffstat (limited to 'src/plugins/git/gitclient.cpp')
-rw-r--r-- | src/plugins/git/gitclient.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index aeced497c2..33cecb85d2 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -2779,7 +2779,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; - moreBranches = tr(" and %1 more").arg(branchCount - leave); + //: Displayed after the untranslated message "Branches: branch1, branch2 'and %n more'" in git show. + moreBranches = tr(" and %n more", 0, branchCount - leave); branches.erase(branches.begin() + leave, branches.end()); } if (!branches.isEmpty()) { |