diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index f54f77ea4..483f8c722 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -804,7 +804,7 @@ const message = { backup: 'Backup', thirdParty: 'Third-party account', - createBackupAccount: 'Create {0} backup account', + createBackupAccount: 'Add {0}', noTypeForCreate: 'No backup type is currently created', LOCAL: 'Server disks', currentPath: 'Current path', @@ -812,10 +812,10 @@ const message = { S3: 'Amazon S3', MINIO: 'MINIO', SFTP: 'SFTP', - COS: 'Tencent COS Browser', - KODO: 'Qiniu KODO', + COS: 'Tencent COS', + KODO: 'Qiniu Kodo', backupAlert: - "Compatibility of some object storage service providers with Amazon S3, For details please see 官方文档 ", + "In theory, as long as the cloud provider is compatible with the S3 protocol, existing Amazon S3 cloud storage can be used for backup. For specific configurations, please refer to the official documentation. ", domain: 'Accelerate domain', backupAccount: 'Backup account', loadBucket: 'Get bucket', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index be9c7766a..1f2b0a5a1 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -805,7 +805,7 @@ const message = { backup: '备份', thirdParty: '第三方账号', - createBackupAccount: '添加 {0} 备份账号', + createBackupAccount: '添加 {0}', noTypeForCreate: '当前无可创建备份类型', LOCAL: '服务器磁盘', currentPath: '当前路径', @@ -813,10 +813,10 @@ const message = { S3: '亚马逊 S3 云存储', MINIO: 'MINIO', SFTP: 'SFTP', - COS: '腾讯云 COS Browser', - KODO: '七牛云 KODO', + COS: '腾讯云 COS', + KODO: '七牛云 Kodo', backupAlert: - "部分对象存储服务商与亚马逊 S3 的兼容性,详情请查看 官方文档 ", + "理论上只要云厂商兼容 S3 协议,就可以用现有的亚马逊 S3 云存储来备份,具体配置参考 官方文档 ", domain: '加速域名', backupAccount: '备份账号', loadBucket: '获取桶', diff --git a/frontend/src/views/setting/backup-account/index.vue b/frontend/src/views/setting/backup-account/index.vue index b1eec43a3..acf5031a4 100644 --- a/frontend/src/views/setting/backup-account/index.vue +++ b/frontend/src/views/setting/backup-account/index.vue @@ -72,7 +72,7 @@ - {{ $t('setting.createBackupAccount', ['S3']) }} + {{ $t('setting.createBackupAccount', [$t('setting.S3')]) }} @@ -108,7 +108,7 @@ - {{ $t('setting.createBackupAccount', ['OSS']) }} + {{ $t('setting.createBackupAccount', [$t('setting.OSS')]) }} @@ -145,7 +145,7 @@ - {{ $t('setting.createBackupAccount', ['COS']) }} + {{ $t('setting.createBackupAccount', [$t('setting.COS')]) }} @@ -181,7 +181,7 @@ - {{ $t('setting.createBackupAccount', ['KODO']) }} + {{ $t('setting.createBackupAccount', [$t('setting.KODO')]) }} @@ -218,7 +218,7 @@ - {{ $t('setting.createBackupAccount', ['MINIO']) }} + {{ $t('setting.createBackupAccount', [$t('setting.MINIO')]) }} @@ -257,7 +257,7 @@ - {{ $t('setting.createBackupAccount', ['SFTP']) }} + {{ $t('setting.createBackupAccount', [$t('setting.SFTP')]) }} diff --git a/frontend/src/views/setting/backup-account/operate/index.vue b/frontend/src/views/setting/backup-account/operate/index.vue index a0fdbadc2..cd511f60c 100644 --- a/frontend/src/views/setting/backup-account/operate/index.vue +++ b/frontend/src/views/setting/backup-account/operate/index.vue @@ -184,6 +184,7 @@ const dialogData = ref({ title: '', }); const acceptParams = (params: DialogProps): void => { + buckets.value = []; dialogData.value = params; if (dialogData.value.title === 'edit' && dialogData.value.rowData!.type === 'MINIO') { if (dialogData.value.rowData!.varsJson['endpoint'].indexOf('://') !== 0) {