From 50e95b985a72fcec4a93a2470e9efdfb2620148a Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 02 四月 2026 15:46:09 +0800
Subject: [PATCH] #i18n

---
 rsf-design/src/utils/sys/upgrade.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/rsf-design/src/utils/sys/upgrade.js b/rsf-design/src/utils/sys/upgrade.js
index 6bc6974..be8a5e4 100644
--- a/rsf-design/src/utils/sys/upgrade.js
+++ b/rsf-design/src/utils/sys/upgrade.js
@@ -1,5 +1,6 @@
 import { upgradeLogList } from '@/mock/upgrade/changeLog'
 import { ElNotification } from 'element-plus'
+import { $t } from '@/locales'
 import { useUserStore } from '@/store/modules/user'
 import { StorageConfig } from '@/utils/storage/storage-config'
 class VersionManager {
@@ -78,13 +79,13 @@
     const { title: content } = upgradeLogList.value[0]
     const messageParts = [
       `<p style="color: var(--art-gray-800) !important; padding-bottom: 5px;">`,
-      `绯荤粺宸插崌绾у埌 ${StorageConfig.CURRENT_VERSION} 鐗堟湰锛屾娆℃洿鏂板甫鏉ヤ簡浠ヤ笅鏀硅繘锛歚,
+      $t('message.systemUpgradeIntro', { version: StorageConfig.CURRENT_VERSION }),
       `</p>`,
       content
     ]
     if (requireReLogin) {
       messageParts.push(
-        `<p style="color: var(--theme-color); padding-top: 5px;">鍗囩骇瀹屾垚锛岃閲嶆柊鐧诲綍鍚庣户缁娇鐢ㄣ��</p>`
+        `<p style="color: var(--theme-color); padding-top: 5px;">${$t('message.systemUpgradeRelogin')}</p>`
       )
     }
     return messageParts.join('')
@@ -94,7 +95,7 @@
    */
   showUpgradeNotification(message) {
     ElNotification({
-      title: '绯荤粺鍗囩骇鍏憡',
+      title: $t('message.systemUpgradeTitle'),
       message,
       duration: 0,
       type: 'success',

--
Gitblit v1.9.1