put commas in +n on filter human-strings

This commit is contained in:
2024-02-23 14:58:15 -06:00
parent 0262f8e365
commit 077845bc42

View File

@ -395,10 +395,10 @@ class FilterUtils
switch (andMoreFormat) switch (andMoreFormat)
{ {
case "andNOther": case "andNOther":
labels.push(` and ${n} other value${n == 1 ? "" : "s"}.`); labels.push(` and ${n.toLocaleString()} other value${n == 1 ? "" : "s"}.`);
break; break;
case "+N": case "+N":
labels[labels.length-1] += ` +${n}`; labels[labels.length-1] += ` +${n.toLocaleString()}`;
break; break;
} }
} }