From dc3a160098f17c3f5e8342a5a321c211510b2c81 Mon Sep 17 00:00:00 2001 From: forehalo Date: Tue, 31 Dec 2024 14:19:24 +0800 Subject: [PATCH] fix(core): wrong auth i18n keys --- .../user-with-workspace-list/workspace-list/index.tsx | 4 ++-- packages/frontend/i18n/src/resources/en.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx b/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx index baf4b077372d9..1b4ed44ddcb09 100644 --- a/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx +++ b/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx @@ -143,12 +143,12 @@ const CloudWorkSpaceList = ({ ), accountStatus === 'authenticated' && ( - {t['com.affine.sign.out']()} + {t['Sign out']()} ), accountStatus === 'unauthenticated' && ( - {t['com.affine.sign.in']()} + {t['Sign in']()} ), ]} diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json index 55f9df4379e5f..d3119e451d61d 100644 --- a/packages/frontend/i18n/src/resources/en.json +++ b/packages/frontend/i18n/src/resources/en.json @@ -92,7 +92,7 @@ "Retry": "Retry", "Save": "Save", "Select": "Select", - "Sign in": "Sign in AFFiNE Cloud", + "Sign in": "Sign in", "Sign in and Enable": "Sign in and enable", "Sign out": "Sign out", "Snapshot": "Snapshot",