Core::OutputWindow: Use proper numerus form

Change-Id: I0c8da8a49a436ff9f8bcdcb02756be1734406df2
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Robert Loehning
2020-07-24 18:18:48 +02:00
parent 7b6d44a90a
commit dcbf15cf2e

View File

@@ -412,7 +412,7 @@ void OutputWindow::handleOutputChunk(const QString &output, OutputFormat format)
const int elided = out.size() - d->maxCharCount;
out = out.left(d->maxCharCount / 2)
+ "[[[... "
+ tr("Elided %1 characters due to Application Output settings").arg(elided)
+ tr("Elided %n characters due to Application Output settings", nullptr, elided)
+ " ...]]]"
+ out.right(d->maxCharCount / 2);
setMaximumBlockCount(out.count('\n') + 1);