From 329a02bf074a83df220868dbf38aead4f29b71fe Mon Sep 17 00:00:00 2001
From: feng <1304903146@qq.com>
Date: Wed, 15 May 2024 18:51:44 +0800
Subject: [PATCH 1/4] perf: translate
---
src/router/console/accounts.js | 6 +++---
src/router/profile/index.js | 4 ++--
src/views/accounts/AccountGather/index.vue | 2 +-
src/views/accounts/Automation/index.vue | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/router/console/accounts.js b/src/router/console/accounts.js
index c3868d6b7..4bf4b0c55 100644
--- a/src/router/console/accounts.js
+++ b/src/router/console/accounts.js
@@ -79,7 +79,7 @@ export default [
name: 'AccountTemplateList',
component: () => import('@/views/accounts/AccountTemplate/AccountTemplateList'),
meta: {
- menuTitle: i18n.t('AccountTemplates'),
+ menuTitle: i18n.t('AccountTemplate'),
title: i18n.t('AccountTemplateList'),
permissions: ['accounts.view_accounttemplate']
}
@@ -142,7 +142,7 @@ export default [
name: 'AccountPushList',
meta: {
title: i18n.t('AccountPushList'),
- menuTitle: i18n.t('PushAccounts'),
+ menuTitle: i18n.t('AccountPushList'),
activeMenu: '/console/accounts/automations',
permissions: ['accounts.view_pushaccountautomation']
}
@@ -381,7 +381,7 @@ export default [
component: () => import('@/views/accounts/AccountBackup/index.vue'),
name: 'AccountBackupList',
meta: {
- menuTitle: i18n.t('BackupAccounts'),
+ menuTitle: i18n.t('AccountBackup'),
title: i18n.t('AccountBackupList'),
activeMenu: '/console/accounts/automations',
permissions: ['accounts.view_accountbackupautomation']
diff --git a/src/router/profile/index.js b/src/router/profile/index.js
index be96b51b2..74daebece 100644
--- a/src/router/profile/index.js
+++ b/src/router/profile/index.js
@@ -60,7 +60,7 @@ export default {
component: () => import('@/views/profile/AccessKey/index'),
name: 'AccessKey',
icon: 'key',
- meta: { title: i18n.t('AccessKeys'), permissions: ['authentication.view_accesskey'] }
+ meta: { title: i18n.t('AccessKey'), permissions: ['authentication.view_accesskey'] }
},
{
path: ':id/update',
@@ -68,7 +68,7 @@ export default {
name: 'AccessKeyCreateUpdate',
hidden: true,
meta: {
- title: i18n.t('AccessKeys'),
+ title: i18n.t('AccessKey'),
permissions: ['authentication.change_accesskey'],
activeMenu: '/profile/access-keys'
}
diff --git a/src/views/accounts/AccountGather/index.vue b/src/views/accounts/AccountGather/index.vue
index 4c2233ae9..10d4a3e6a 100644
--- a/src/views/accounts/AccountGather/index.vue
+++ b/src/views/accounts/AccountGather/index.vue
@@ -16,7 +16,7 @@ export default {
activeMenu: 'AccountGatherList',
submenu: [
{
- title: this.$t('GatheredAccounts'),
+ title: this.$t('AccountGatherList'),
name: 'AccountGatherList',
hidden: !this.$hasPerm('accounts.view_gatheredaccount'),
component: () => import('@/views/accounts/AccountGather/AccountGatherList.vue')
diff --git a/src/views/accounts/Automation/index.vue b/src/views/accounts/Automation/index.vue
index 2fcd39d90..b03103de7 100644
--- a/src/views/accounts/Automation/index.vue
+++ b/src/views/accounts/Automation/index.vue
@@ -21,7 +21,7 @@ export default {
totalData: [
{
id: 'push-account',
- display_name: this.$t('PushAccounts'),
+ display_name: this.$t('AccountPushList'),
name: 'AccountPushList',
comment: this.$t('PushAccountsHelpText'),
icon: 'push-account',
@@ -47,7 +47,7 @@ export default {
},
{
id: 'backup_account',
- display_name: this.$t('BackupAccounts'),
+ display_name: this.$t('AccountBackup'),
name: 'AccountBackupList',
comment: this.$t('BackupAccountsHelpText'),
icon: 'backup-account',
From e68e4b2a2473a7b08908443f32d3e71d7f7c82a1 Mon Sep 17 00:00:00 2001
From: zhaojisen <1301338853@qq.com>
Date: Wed, 15 May 2024 16:34:22 +0800
Subject: [PATCH 2/4] =?UTF-8?q?style=EF=BC=9A=E6=94=B9=E5=8F=98=20dashboar?=
=?UTF-8?q?d=20=E4=B8=AD=20buttonGroup=20=E7=9A=84=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dashboard/Audit/index.vue | 20 ------------------
src/views/dashboard/components/SwitchDate.vue | 21 +++++++------------
2 files changed, 8 insertions(+), 33 deletions(-)
diff --git a/src/views/dashboard/Audit/index.vue b/src/views/dashboard/Audit/index.vue
index 4fde06641..8d0a8974e 100644
--- a/src/views/dashboard/Audit/index.vue
+++ b/src/views/dashboard/Audit/index.vue
@@ -52,23 +52,3 @@ export default {
}
}
-
-
diff --git a/src/views/dashboard/components/SwitchDate.vue b/src/views/dashboard/components/SwitchDate.vue
index efbcc0e94..ec35b7fa8 100644
--- a/src/views/dashboard/components/SwitchDate.vue
+++ b/src/views/dashboard/components/SwitchDate.vue
@@ -57,26 +57,21 @@ export default {