chore: update i18n keys

This commit is contained in:
JimmFly
2023-01-10 14:29:18 +08:00
parent bc6cf648f6
commit 9fe4b066f9
23 changed files with 210 additions and 102 deletions
@@ -14,6 +14,7 @@ const All = () => {
<PageList
pageList={pageMetaList.filter(p => !p.trash)}
showFavoriteTag={true}
listType="all"
/>
</>
);
@@ -13,7 +13,10 @@ export const Favorite = () => {
<PageListHeader icon={<FavouritesIcon />}>
{t('Favourites')}
</PageListHeader>
<PageList pageList={pageMetaList.filter(p => p.favorite && !p.trash)} />
<PageList
pageList={pageMetaList.filter(p => p.favorite && !p.trash)}
listType="favorite"
/>
</>
);
};
@@ -11,7 +11,11 @@ export const Trash = () => {
return (
<>
<PageListHeader icon={<TrashIcon />}>{t('Trash')}</PageListHeader>
<PageList pageList={pageMetaList.filter(p => p.trash)} isTrash={true} />
<PageList
pageList={pageMetaList.filter(p => p.trash)}
isTrash={true}
listType="trash"
/>
</>
);
};