diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 12af197d8..7d4a287f0 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -988,6 +988,8 @@ const message = { addFavorite: 'Add to favorites', clearList: 'Clear list', deleteRecycleHelper: 'Are you sure you want to permanently delete the following files?', + typeErrOrEmpty: '[{0}] file type is wrong or empty folder', + dropHelper: 'Drag [{0}] here, or', }, ssh: { autoStart: 'Auto Start', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index a30066647..6883f53ec 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -949,6 +949,8 @@ const message = { addFavorite: '加入收藏夾', clearList: '清空列表', deleteRecycleHelper: '確定永久刪除以下文件?', + typeErrOrEmpty: '【{0}】 檔案類型錯誤或為空資料夾', + dropHelper: '將【{0}】拖曳到此處,或', }, ssh: { autoStart: '開機自啟', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 56310112f..c24f2292c 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -950,6 +950,8 @@ const message = { addFavorite: '加入收藏夹子', clearList: '清空列表', deleteRecycleHelper: '确定永久删除以下文件?', + typeErrOrEmpty: '【{0}】 文件类型错误或为空文件夹', + dropHelper: '将【{0}】拖拽到此处,或者', }, ssh: { autoStart: '开机自启', diff --git a/frontend/src/views/host/file-management/upload/index.vue b/frontend/src/views/host/file-management/upload/index.vue index 67f8513a4..35d9af030 100644 --- a/frontend/src/views/host/file-management/upload/index.vue +++ b/frontend/src/views/host/file-management/upload/index.vue @@ -10,22 +10,12 @@
- - - {{ $t('file.upload') }} - +
+ + {{ $t('file.upload') }}{{ $t('file.file') }} - - + {{ $t('file.upload') }}{{ $t('file.dir') }} +
{{ $t('file.clearList') }}
@@ -43,7 +33,7 @@ >
- {{ $t('database.dropHelper') }} + {{ $t('file.dropHelper', [$t('file.' + uploadType)]) }} {{ $t('database.clickHelper') }}