From a582daf68641a60a814f5c0228aba87f13f675c3 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 12 Feb 2025 17:20:10 +0800
Subject: [PATCH] =?UTF-8?q?il8n=E9=A1=B5=E9=9D=A2=E5=9B=BD=E9=99=85?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 10 +-
.../system/i18n/components/BatchAddForm.vue | 113 +++++++------
src/views/system/i18n/components/I18nForm.vue | 157 ++++++++++++------
src/views/system/i18n/index.vue | 64 +++----
4 files changed, 205 insertions(+), 139 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index fc8069dd..d97043f9 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -126,10 +126,12 @@
- 取消
- 保存
+ {{ $t('common:button:cancel') }}
+
+ {{
+ $t('common:button:save')
+ }}
diff --git a/src/views/system/i18n/components/BatchAddForm.vue b/src/views/system/i18n/components/BatchAddForm.vue
index b20bc815..c1c393b0 100644
--- a/src/views/system/i18n/components/BatchAddForm.vue
+++ b/src/views/system/i18n/components/BatchAddForm.vue
@@ -8,7 +8,10 @@
size="small"
:rules="rules"
>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
{{ $t("common:button:new") }}{{ $t('common:button:new') }}
@@ -179,7 +188,7 @@
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.$index)"
- >{{ $t("common:button:delete") }}{{ $t('common:button:delete') }}
@@ -187,28 +196,28 @@
- 取消
- 保存
+ {{
+ $t('common:button:cancel')
+ }}
+ {{
+ $t('common:button:save')
+ }}
diff --git a/src/views/system/i18n/components/I18nForm.vue b/src/views/system/i18n/components/I18nForm.vue
index 66a46bca..0d9c7d37 100644
--- a/src/views/system/i18n/components/I18nForm.vue
+++ b/src/views/system/i18n/components/I18nForm.vue
@@ -10,7 +10,7 @@
size="small"
>
@@ -24,7 +24,7 @@
@@ -35,7 +35,11 @@
:autosize="{ minRows: 2, maxRows: 4 }"
/>
-
+
-
+
-
+
-
+
-
+
-
+
- 取消
- 保存
+ {{
+ $t('common:button:cancel')
+ }}
+ {{
+ $t('common:button:save')
+ }}