From 7c2bffa1a495cc4a3a263f654c08c231009c5c4e Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 02 四月 2026 10:59:45 +0800
Subject: [PATCH] #i18n

---
 rsf-design/src/views/system/menu/menuTable.columns.js |   29 ++++++++++++++++-------------
 1 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/rsf-design/src/views/system/menu/menuTable.columns.js b/rsf-design/src/views/system/menu/menuTable.columns.js
index e98239c..74ee2bc 100644
--- a/rsf-design/src/views/system/menu/menuTable.columns.js
+++ b/rsf-design/src/views/system/menu/menuTable.columns.js
@@ -1,5 +1,6 @@
 import { h } from 'vue'
 import { ElTag } from 'element-plus'
+import { $t } from '@/locales'
 import ArtSvgIcon from '@/components/core/base/art-svg-icon/index.vue'
 import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
 import {
@@ -21,13 +22,13 @@
   return [
     {
       prop: 'meta.title',
-      label: '鑿滃崟鍚嶇О',
+      label: $t('pages.system.menu.search.name'),
       minWidth: 180,
       formatter: (row) => getMenuDisplayTitle(row, titleFormatter)
     },
     {
       prop: 'meta.icon',
-      label: '鍥炬爣棰勮',
+      label: $t('table.iconPreview'),
       width: 96,
       align: 'center',
       formatter: (row) => {
@@ -47,14 +48,14 @@
     },
     {
       prop: 'type',
-      label: '鑿滃崟绫诲瀷',
+      label: $t('table.menuType'),
       width: 110,
       formatter: (row) =>
         h(ElTag, { type: getMenuTypeTag(row), effect: 'light' }, () => getMenuTypeText(row))
     },
     {
       prop: 'route',
-      label: '璺敱',
+      label: $t('pages.system.menu.search.route'),
       minWidth: 180,
       formatter: (row) => {
         if (row.meta?.isAuthButton) return ''
@@ -63,7 +64,7 @@
     },
     {
       prop: 'component',
-      label: '缁勪欢鏍囪瘑',
+      label: $t('table.componentKey'),
       minWidth: 160,
       showOverflowTooltip: true,
       formatter: (row) => {
@@ -73,30 +74,32 @@
     },
     {
       prop: 'authority',
-      label: '鏉冮檺鏍囪瘑',
+      label: $t('table.permissionKey'),
       minWidth: 180,
       formatter: (row) => {
         if (row.meta?.isAuthButton) {
           return row.authority || row.meta?.authMark || ''
         }
         if (!row.meta?.authList?.length) return row.authority || ''
-        return `${row.meta.authList.length} 涓潈闄愭爣璇哷
+        return $t('pages.system.menu.messages.authCount', {
+          count: row.meta.authList.length
+        })
       }
     },
     {
       prop: 'sort',
-      label: '鎺掑簭',
+      label: $t('table.sort'),
       width: 90
     },
     {
       prop: 'id',
-      label: 'ID',
+      label: $t('table.id'),
       width: 96,
       align: 'center'
     },
     {
       prop: 'status',
-      label: '鐘舵��',
+      label: $t('table.status'),
       width: 100,
       formatter: (row) => {
         const statusMeta = getMenuStatusMeta(row.status)
@@ -105,14 +108,14 @@
     },
     {
       prop: 'memo',
-      label: '澶囨敞',
+      label: $t('table.remark'),
       minWidth: 180,
       showOverflowTooltip: true,
       formatter: (row) => row.memo || '-'
     },
     {
       prop: 'operation',
-      label: '鎿嶄綔',
+      label: $t('table.operation'),
       width: 180,
       align: 'center',
       formatter: (row) => {
@@ -133,7 +136,7 @@
           h(ArtButtonTable, {
             type: 'add',
             onClick: () => handleAddAuth(row),
-            title: '鏂板鏉冮檺'
+            title: $t('pages.system.menu.actions.addAuth')
           }),
           h(ArtButtonTable, {
             type: 'edit',

--
Gitblit v1.9.1