diff --git a/components/object/list.vue b/components/object/list.vue index ee799db..5a9d390 100644 --- a/components/object/list.vue +++ b/components/object/list.vue @@ -5,21 +5,15 @@ - +
- - + + @@ -285,14 +263,14 @@ const columns = computed[]>(() => { h('div', { class: 'flex items-center gap-2' }, [ row.original.type === 'object' ? h( - Button, - { - variant: 'outline', - size: 'sm', - onClick: () => downloadFile(row.original.Key), - }, - () => [h(Icon, { name: 'ri:download-cloud-2-line', class: 'size-4' }), h('span', t('Download'))] - ) + Button, + { + variant: 'outline', + size: 'sm', + onClick: () => downloadFile(row.original.Key), + }, + () => [h(Icon, { name: 'ri:download-cloud-2-line', class: 'size-4' }), h('span', t('Download'))] + ) : null, h( Button, diff --git a/components/object/upload/picker.vue b/components/object/upload/picker.vue index 2a64299..f583110 100644 --- a/components/object/upload/picker.vue +++ b/components/object/upload/picker.vue @@ -7,7 +7,7 @@

{{ t('Target Bucket') }}: {{ bucketName }}

-

{{ t('Current Prefix') }}: {{ prefix || '/' }}

+

{{ t('Current Prefix') }}: {{ prefix || '/' }}

@@ -28,10 +28,7 @@ - + {{ t('Large File Count Warning', { count: totalFileCount.toLocaleString(), max: MAX_FILES_LIMIT }) }} @@ -44,30 +41,16 @@

{{ t('Total Files') }}: {{ totalFileCount.toLocaleString() }}

{{ t('Memory Usage') }}: {{ getMemoryUsageLevel() }}

- -
-
+
+

{{ t('No Selection') }}

@@ -94,10 +77,7 @@

- +
{{ item.name }}/ @@ -144,12 +124,7 @@ -
@@ -238,7 +213,7 @@ const clearAllFiles = () => { if (typeof window !== 'undefined' && 'gc' in window && typeof (window as any).gc === 'function') { try { - ;(window as any).gc() + ; (window as any).gc() } catch { // ignore } diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index fc08bb0..c080e6d 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -667,7 +667,7 @@ "Set Policy": "设置策略", "Set Retention": "设置保留", "Set Tag": "设置标签", - "Set Tags": "设置tag", + "Set Tags": "设置标签", "Set the prefix for the rule": "设置规则的前缀", "Set the time cycle for the rule": "设置规则的时间周期", "Settings": "设置", @@ -782,7 +782,7 @@ "Version 2.0, January 2004": "Version 2.0, January 2004", "Version Control": "版本控制", "VersionId": "版本ID", - "Versions": "版本", + "Versions": "版本历史", "View Documentation": "查看文档", "Virtualization Platform Support": "虚拟化平台支持", "Visit website": "访问官网",