From 71411891025c77d9e0c0c66f961c1688bd8ab561 Mon Sep 17 00:00:00 2001 From: Finley Ge <32237950+FinleyGe@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:54:57 +0800 Subject: [PATCH] chore(notification bind): team member notification bind hint text (#2295) adjusting --- packages/web/i18n/zh/user.json | 3 ++- projects/app/src/pages/account/components/Info.tsx | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/web/i18n/zh/user.json b/packages/web/i18n/zh/user.json index 3a20dfc258a1..61e5593382a5 100644 --- a/packages/web/i18n/zh/user.json +++ b/packages/web/i18n/zh/user.json @@ -2,7 +2,8 @@ "bind_inform_account_error": "绑定通知账号异常", "bind_inform_account_success": "绑定通知账号成功", "notification": { - "Bind Notification Pipe Hint": "绑定接收通知的邮箱或手机号,以确保您能及时接收到重要的系统通知。" + "Bind Notification Pipe Hint": "绑定接收通知的邮箱或手机号,以确保您能及时接收到重要的系统通知。", + "remind_owner_bind": "请提醒创建者绑定通知账号" }, "permission": { "Manage": "管理员", diff --git a/projects/app/src/pages/account/components/Info.tsx b/projects/app/src/pages/account/components/Info.tsx index 014dc3cabe04..ebd1351522d3 100644 --- a/projects/app/src/pages/account/components/Info.tsx +++ b/projects/app/src/pages/account/components/Info.tsx @@ -267,8 +267,15 @@ const MyInfo = () => { {feConfigs?.isPlus && ( {t('common:user.Notification Receive')}:  - - {userInfo?.team.notificationAccount || t('common:user.Notification Receive Bind')} + + {userInfo?.team.notificationAccount || userInfo?.permission.isOwner + ? t('common:user.Notification Receive Bind') + : t('user:notification.remind_owner_bind')} {userInfo?.permission.isOwner && (