chore(i18n): refactor and cleanup (#805)

* checkpoint

* finish

* docs
This commit is contained in:
Jacky Zhao authored and GitHub committed 2024-02-04 20:57:10 -08:00
1 parent dff4b06313
commit 36e4cc41a9
37 files changed
+326 -211

No files matched your search

-8
View File
@@ -1,11 +1,3 @@
export function pluralize(count: number, s: string): string {
if (count === 1) {
return `1 ${s}`
} else {
return `${count} ${s}s`
}
}
export function capitalize(s: string): string {
return s.substring(0, 1).toUpperCase() + s.substring(1)
}