mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-22 01:19:13 +01:00
Context menu, logs in DevTools, export, tweaks
This commit is contained in:
@@ -4,3 +4,7 @@ export function pluralize(word: string, count: number): string {
|
||||
}
|
||||
return `${word}s`;
|
||||
}
|
||||
|
||||
export function count(word: string, count: number): string {
|
||||
return `${count} ${pluralize(word, count)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user