diff --git a/locales/en-US/notification.json b/locales/en-US/notification.json index c174cc2c33..31839eaa35 100644 --- a/locales/en-US/notification.json +++ b/locales/en-US/notification.json @@ -1,11 +1,9 @@ { "image_generation_completed": "Image \"{{prompt}}\" generated successfully", "image_generation_completed_title": "Image Generated", - "inbox": { - "empty": "No notifications yet", - "markAllRead": "Mark all as read", - "title": "Notifications" - }, + "inbox.empty": "No notifications yet", + "inbox.markAllRead": "Mark all as read", + "inbox.title": "Notifications", "video_generation_completed": "Video \"{{prompt}}\" generated successfully", "video_generation_completed_title": "Video Generated" } diff --git a/locales/zh-CN/notification.json b/locales/zh-CN/notification.json index 9682da48fb..17679a431d 100644 --- a/locales/zh-CN/notification.json +++ b/locales/zh-CN/notification.json @@ -1,11 +1,9 @@ { "image_generation_completed": "图片 \"{{prompt}}\" 已生成完成", "image_generation_completed_title": "图片已生成", - "inbox": { - "empty": "暂无通知", - "markAllRead": "全部标为已读", - "title": "通知" - }, + "inbox.empty": "暂无通知", + "inbox.markAllRead": "全部标为已读", + "inbox.title": "通知", "video_generation_completed": "视频 \"{{prompt}}\" 已生成完成", "video_generation_completed_title": "视频已生成" } diff --git a/src/features/NavPanel/SideBarHeaderLayout.tsx b/src/features/NavPanel/SideBarHeaderLayout.tsx index fabed7e338..999df3e4fb 100644 --- a/src/features/NavPanel/SideBarHeaderLayout.tsx +++ b/src/features/NavPanel/SideBarHeaderLayout.tsx @@ -128,15 +128,7 @@ const SideBarHeaderLayout = memo( padding={6} > {leftContent} - + {showTogglePanelButton && } {right} diff --git a/src/routes/(main)/home/_layout/Header/components/InboxDrawer/NotificationItem.tsx b/src/routes/(main)/home/_layout/Header/components/InboxDrawer/NotificationItem.tsx index 790af76a88..5e76f19033 100644 --- a/src/routes/(main)/home/_layout/Header/components/InboxDrawer/NotificationItem.tsx +++ b/src/routes/(main)/home/_layout/Header/components/InboxDrawer/NotificationItem.tsx @@ -109,7 +109,7 @@ const NotificationItem = memo( - + {content}