diff --git a/frontend/src/business/components/notice/Notification.vue b/frontend/src/business/components/notice/Notification.vue
index 76900977aa..5fe7c46b97 100644
--- a/frontend/src/business/components/notice/Notification.vue
+++ b/frontend/src/business/components/notice/Notification.vue
@@ -25,10 +25,10 @@
custom-class="ms-drawer-task">
-
+
-
+
@@ -163,7 +163,7 @@ export default {
}
d.user = this.userMap[d.operator];
let message = d.user.name + getOperation(d.operation) + getResource(d) + ": " + d.resourceName;
- let title = d.type === 'MENTIONED_ME' ? '@提到我的' : '系统通知';
+ let title = d.type === 'MENTIONED_ME' ? this.$t('commons.mentioned_me_notice') : this.$t('commons.system_notice');
setTimeout(() => {
this.$notify({
title: title,
diff --git a/frontend/src/business/components/notice/components/MentionedMeData.vue b/frontend/src/business/components/notice/components/MentionedMeData.vue
index f33a6ef6bd..54a99066e0 100644
--- a/frontend/src/business/components/notice/components/MentionedMeData.vue
+++ b/frontend/src/business/components/notice/components/MentionedMeData.vue
@@ -1,7 +1,7 @@
- ({{ totalCount }} 条消息)
+ ({{ totalCount }} {{ $t('commons.notice_count') }})
{{ goPage }}/{{ totalPage }}
@@ -37,7 +37,7 @@
- - 仅显示最近3个月的站内消息 -
+ - {{ $t('commons.notice_tips') }} -
diff --git a/frontend/src/business/components/notice/components/SystemNoticeData.vue b/frontend/src/business/components/notice/components/SystemNoticeData.vue
index 0e2eb1316a..a711ae4299 100644
--- a/frontend/src/business/components/notice/components/SystemNoticeData.vue
+++ b/frontend/src/business/components/notice/components/SystemNoticeData.vue
@@ -1,7 +1,7 @@
- ({{ totalCount }} 条消息)
+ ({{ totalCount }} {{ $t('commons.notice_count') }})
{{ goPage }}/{{ totalPage }}
@@ -37,7 +37,7 @@
- - 仅显示最近3个月的站内消息 -
+ - {{ $t('commons.notice_tips') }} -
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index e92ac79bda..ed14511878 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -169,6 +169,10 @@ export default {
scenario_case: "Scenario Case",
task_center: "Task center",
notice_center: "Notice center",
+ notice_count: 'Messages',
+ notice_tips: 'Only display the news within the last 3 months',
+ system_notice:'System',
+ mentioned_me_notice:'@Mentioned Me',
all_module_title: "All module",
create_user: 'Creator',
run_message: "The task is being executed, please go to the task center to view the details",
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index 8608daaf25..dc5f70c599 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -170,6 +170,10 @@ export default {
scenario_case: "场景用例",
task_center: "任务中心",
notice_center: "消息中心",
+ notice_count: '条消息',
+ notice_tips: '仅显示最近3个月的站内消息',
+ system_notice: '系统通知',
+ mentioned_me_notice: '@提到我的',
all_module_title: "全部模块",
create_user: '创建人',
run_message: "任务执行中,请到任务中心查看详情",
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index 8d36781c1c..1fc6f1b622 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -170,6 +170,10 @@ export default {
scenario_case: "場景用例",
task_center: "任务中心",
notice_center: "消息中心",
+ notice_count: '條消息',
+ notice_tips: '僅顯示最近3個月的站內消息',
+ system_notice: '系統通知',
+ mentioned_me_notice: '@提到我的',
all_module_title: "全部模塊",
create_user: "創建人",
run_message: "任務執行中,請到任務中心查看詳情",