chore(i18n): add new key for empty trash page (#4829)

This commit is contained in:
JimmFly 2023-11-03 14:15:13 +08:00 committed by GitHub
parent 97db941749
commit 788c445f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export const EmptyPageList = ({
); );
} }
if (type === 'trash') { if (type === 'trash') {
return t['emptyTrash'](); return t['com.affine.workspaceSubPath.trash.empty-description']();
} }
if (type === 'shared') { if (type === 'shared') {
return t['emptySharedPages'](); return t['emptySharedPages']();

View File

@ -772,5 +772,6 @@
"com.affine.other-page.nav.open-affine": "Open AFFiNE", "com.affine.other-page.nav.open-affine": "Open AFFiNE",
"com.affine.payment.member.description": "Manage members here. {{planName}} Users can invite up to {{memberLimit}}", "com.affine.payment.member.description": "Manage members here. {{planName}} Users can invite up to {{memberLimit}}",
"com.affine.cmdk.affine.switch-state.on": "ON", "com.affine.cmdk.affine.switch-state.on": "ON",
"com.affine.cmdk.affine.switch-state.off": "OFF" "com.affine.cmdk.affine.switch-state.off": "OFF",
"com.affine.workspaceSubPath.trash.empty-description": "Deleted pages will appear here."
} }