mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-28 12:11:53 +01:00
Hotkeys and view mode kvs
This commit is contained in:
6
src-web/lib/pluralize.ts
Normal file
6
src-web/lib/pluralize.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export function pluralize(word: string, count: number): string {
|
||||
if (count === 1) {
|
||||
return word;
|
||||
}
|
||||
return `${word}s`;
|
||||
}
|
||||
Reference in New Issue
Block a user