Locale for context menu (#337)
This commit is contained in:
1 parent
25330a6494
commit
615439650e
13 files changed
+180
-38
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user