feat: delete a custom type
This commit is contained in:
1 parent
76e9e1220c
commit
5404291af2
25 files changed
+1768
-46
No files matched your search
@@ -19,3 +19,9 @@ export function entriesLine(name: string, total: number) {
|
||||
formatNumber(total),
|
||||
])
|
||||
}
|
||||
|
||||
export function entriesCountLine(name: string, total: number) {
|
||||
return total === 1
|
||||
? t('{0} has 1 entry', [name])
|
||||
: t('{0} has {1} entries', [name, formatNumber(total)])
|
||||
}
|
||||
Reference in new issue
Block a user