perf: translate

This commit is contained in:
feng
2025-03-05 17:28:44 +08:00
committed by feng626
parent 1121af7441
commit 9db715e375
4 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
v-on="$listeners"
>
<el-alert type="error">
"{{ this.$t('DeleteWarningMsg') }}" "{{ account.username }} - {{ account.asset.name }}" ?
{{ this.$t('DeleteWarningMsg') }} {{ account.username }}({{ account.asset.name }}) ?
<div class="extra-delete">
<div v-if="hasDeleteAccount && assetAccounts.length > 0" class="delete-item">

View File

@@ -16,7 +16,7 @@ export default {
return {
fields: [
[this.$t('Basic'), ['name', 'nodes', 'assets']],
[this.$t('DiscoverConfig'), ['is_sync_account', 'check_risk', 'recipients']],
[this.$t('Config'), ['is_sync_account', 'check_risk', 'recipients']],
[this.$t('Periodic'), ['is_periodic', 'crontab', 'interval']],
[this.$t('Other'), ['is_active', 'comment']]
],

View File

@@ -33,7 +33,7 @@ export default {
},
{
key: this.$t('DateLastSync'),
value: this.object.date_last_sync ? toSafeLocalDateStr(this.object.date_created) : '-'
value: this.object.last_execution_date ? toSafeLocalDateStr(this.object.last_execution_date) : '-'
},
{
key: this.$t('DateCreated'),

View File

@@ -114,7 +114,7 @@ export const gatherAccountHeaderActions = (vm) => {
hasImport: false,
hasExport: true,
searchConfig: {
exclude: ['asset'],
exclude: ['asset', 'id'],
options: [
{
label: vm.$t('AssetName'),