Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

JimmFly788c445f2bba
diff --git a/packages/frontend/core/src/pages/workspace/page-list-empty.tsx b/packages/frontend/core/src/pages/workspace/page-list-empty.tsx
index 5e499c2a79..4cf41ea70e 100644
--- a/packages/frontend/core/src/pages/workspace/page-list-empty.tsx
+++ b/packages/frontend/core/src/pages/workspace/page-list-empty.tsx
@@ -46,7 +46,7 @@ export const EmptyPageList = ({
);
}
if (type === 'trash') {
- return t['emptyTrash']();
+ return t['com.affine.workspaceSubPath.trash.empty-description']();
}
if (type === 'shared') {
return t['emptySharedPages']();
diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json
index 078a40405e..c1a9b52ce0 100644
--- a/packages/frontend/i18n/src/resources/en.json
+++ b/packages/frontend/i18n/src/resources/en.json
@@ -772,5 +772,6 @@
"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.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."
}