Fix ngettext in LogWriter

This commit is contained in:
zzz
2019-12-17 17:33:04 +00:00
parent bf94460420
commit 3fa3b69cbc
31 changed files with 61 additions and 61 deletions

View File

@ -158,7 +158,7 @@ abstract class LogWriter implements Runnable {
String arrows = reverse ? (nohtml ? "vvv" : "↓↓↓")
: (nohtml ? "^^^" : "↑↑↑");
return LogRecordFormatter.getWhen(_manager, lastRecord) + ' ' + arrows + ' ' +
ngettext("1 similar message omitted", "{0} similar messages omitted", dupCount) + ' ' + arrows +
ngettext("{0} similar message omitted", "{0} similar messages omitted", dupCount) + ' ' + arrows +
LogRecordFormatter.NL;
}