mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf: Translate
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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']
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export const gatherAccountTableConfig = (vm, url) => {
|
||||
can: true,
|
||||
getRoute({ row }) {
|
||||
return {
|
||||
name: 'AccountDiscoverAccountDetail',
|
||||
name: 'DiscoverAccountDetail',
|
||||
params: { id: row.id }
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user