Locale for context menu (#337)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2024-03-23 14:30:32 -04:00
1 parent 25330a6494
commit 615439650e
13 files changed
+180 -38

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ export function getFormattedPluralString(c: number, zeroString: string, oneStrin
return trFn(oneString);
} else {
if (c < 1000) {
return trFn(pluralString).replace("^n", parseFloat(c.toFixed(1)).toString());
return trFn(pluralString).replace("^n", c.toString());
}
c = c / 1000;
if (c < 1000) {