forked from qt-creator/qt-creator
Git: Replace %n with %1 in string
There is no plural form in this message Change-Id: I85b584d4e53e68128279d50cb6b63e259f7a35b5 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1fca343157
commit
c09e80b853
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user