kaori 4 лет назад
Родитель
Сommit
a8d52925bb

+ 3 - 1
packages/app/resource/locales/en_US/translation.json

@@ -259,7 +259,9 @@
   "in_app_notification": {
     "notification_list": "In-App Notification List",
     "see_all": "See All",
-    "no_notification": "You don't have any notificatios."
+    "no_notification": "You don't have any notificatios.",
+    "all": "All",
+    "unopend": "Unread"
   },
   "in_app_notification_settings": {
     "in_app_notification_settings": "In-App Notification Settings",

+ 3 - 1
packages/app/resource/locales/ja_JP/translation.json

@@ -261,7 +261,9 @@
   "in_app_notification": {
     "notification_list": "アプリ内通知一覧",
     "see_all": "通知一覧を見る",
-    "no_notification": "通知は一つもありません。"
+    "no_notification": "通知は一つもありません。",
+    "all": "全て",
+    "unopend": "未読"
   },
   "in_app_notification_settings": {
     "in_app_notification_settings": "アプリ内通知設定",

+ 3 - 1
packages/app/resource/locales/zh_CN/translation.json

@@ -240,7 +240,9 @@
   "in_app_notification": {
     "notification_list": "应用内通知列表",
     "see_all": "查看通知列表",
-    "no_notification": "您没有任何通知"
+    "no_notification": "您没有任何通知",
+    "all": "全部",
+    "unopend": "未读"
   },
   "in_app_notification_settings": {
     "in_app_notification_settings": "在应用程序通知设置",

+ 2 - 2
packages/app/src/components/InAppNotification/InAppNotificationPage.tsx

@@ -53,13 +53,13 @@ const InAppNotificationPage: FC = () => {
     user_infomation: {
       Icon: () => <i className="icon-fw icon-user"></i>,
       Content: AllInAppNotificationList,
-      i18n: t('User Information'),
+      i18n: t('in_app_notification.all'),
       index: 0,
     },
     external_accounts: {
       Icon: () => <i className="icon-fw icon-share-alt"></i>,
       Content: PasswordSettings,
-      i18n: t('admin:user_management.external_accounts'),
+      i18n: t('in_app_notification.unopend'),
       index: 1,
     },
   };