forked from qt-creator/qt-creator
Tr: Re-fix plurals
The number for the plural must be given as the 3rd argument
to the tr() call, not as an arg().
Amends 1359e9c84f
Change-Id: I45241a6acd82041c320bbe476cd2b4cc92247ef3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -568,9 +568,10 @@ static void checkNextFunctionForUnused(
|
||||
return;
|
||||
const int newProgress = findRefsFuture->progressValue() + 1;
|
||||
findRefsFuture->setProgressValueAndText(newProgress,
|
||||
Tr::tr("Checked %1 of %n function(s)")
|
||||
.arg(newProgress)
|
||||
.arg(findRefsFuture->progressMaximum()));
|
||||
Tr::tr("Checked %1 of %n function(s)",
|
||||
nullptr,
|
||||
findRefsFuture->progressMaximum())
|
||||
.arg(newProgress));
|
||||
QVariantMap data = search->userData().toMap();
|
||||
QVariant &activeLinks = data["active"];
|
||||
QVariantList activeLinksList = activeLinks.toList();
|
||||
|
||||
Reference in New Issue
Block a user