perf: Translate

This commit is contained in:
feng
2025-03-06 19:12:50 +08:00
committed by feng626
parent 1d667ee1b9
commit b2b1660232
3 changed files with 6 additions and 6 deletions

View File

@@ -119,17 +119,17 @@ export default {
// },
{
name: 'delete_remote',
label: this.$t('Delete remote account'),
label: this.$t('DeleteRemoteAccount'),
has: this.row.remote_present
},
{
name: 'add_account',
label: this.$t('Add account'),
label: this.$t('AddAccount'),
has: !this.row.present
},
{
name: 'change_password_add',
label: this.$t('Add account after changing password'),
label: this.$t('AddAccountAfterChangingPassword'),
has: !this.row.present
}
]

View File

@@ -85,10 +85,10 @@ export default [
{
path: 'account/:id',
component: () => import('@/views/accounts/AccountDiscover/AccountDetail/index.vue'),
name: 'AccountDiscoverAccountDetail',
name: 'DiscoverAccountDetail',
hidden: true,
meta: {
title: i18n.t('AccountDiscoverAccountDetail'),
title: i18n.t('DiscoverAccountDetail'),
permissions: ['accounts.view_gatheraccountsexecution']
}
}

View File

@@ -41,7 +41,7 @@ export const gatherAccountTableConfig = (vm, url) => {
can: true,
getRoute({ row }) {
return {
name: 'AccountDiscoverAccountDetail',
name: 'DiscoverAccountDetail',
params: { id: row.id }
}
},