Merge pull request #3934 from jumpserver/pr@v4@translate

perf: translate
This commit is contained in:
feng626
2024-05-15 18:53:22 +08:00
committed by GitHub
4 changed files with 8 additions and 8 deletions

View File

@@ -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']

View File

@@ -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'
}

View File

@@ -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')

View File

@@ -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',