add translation json and fix some missed hooks

This commit is contained in:
myl7
2022-02-06 19:26:11 +08:00
parent 2df258f791
commit 24507cbbb9
3 changed files with 53 additions and 3 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ const FolderGridLayout = ({
return (
<div className="rounded bg-white dark:bg-gray-900 dark:text-gray-100">
<div className="flex items-center border-b border-gray-900/10 px-3 text-xs font-bold uppercase tracking-widest text-gray-600 dark:border-gray-500/30 dark:text-gray-400">
<div className="flex-1">{folderChildren.length} items</div>
<div className="flex-1">{t('{{count}} item(s)', { count: folderChildren.length })}</div>
<div className="flex p-1.5 text-gray-700 dark:text-gray-400">
<Checkbox
checked={totalSelected}