diff --git a/.vscode/settings.json b/.vscode/settings.json
index 329bd7b..fbe6d00 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,24 +1,7 @@
{
- "eslint.enable": true,
- "eslint.alwaysShowStatus": true,
- "eslint.validate": [
- "javascript",
- "javascriptreact",
- "typescript",
- "vue",
- "typescriptreact"
- ],
"[stylus]": {
"editor.formatOnSave": true
},
- "stylusSupremacy.insertSemicolons": false,
- "stylusSupremacy.insertBraces": false,
- "stylusSupremacy.insertNewLineBetweenSelectors": true,
- "stylusSupremacy.insertParenthesisAroundIfCondition": false,
- "stylusSupremacy.alwaysUseNoneOverZero": true,
- "stylusSupremacy.alwaysUseZeroWithoutUnit": true,
- "stylusSupremacy.sortProperties": "grouped",
- "stylusSupremacy.quoteChar": "\"",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
diff --git a/package.json b/package.json
index c9e3eab..50ffb7c 100644
--- a/package.json
+++ b/package.json
@@ -48,11 +48,11 @@
"ali-oss": "^6.18.1",
"axios": "^1.6.8",
"compare-versions": "^4.1.3",
- "core-js": "^3.33.3",
+ "core-js": "^3.37.1",
"cos-nodejs-sdk-v5": "^2.12.5",
"dexie": "^3.2.4",
"electron-updater": "^6.1.4",
- "element-plus": "2.4.4",
+ "element-plus": "2.7.4",
"epipebomb": "^1.0.0",
"fast-xml-parser": "^4.3.2",
"form-data": "^4.0.0",
@@ -70,7 +70,7 @@
"nodejs-file-downloader": "^4.12.1",
"piclist": "^1.8.8",
"pinia": "^2.1.7",
- "pinia-plugin-persistedstate": "^3.2.0",
+ "pinia-plugin-persistedstate": "^3.2.1",
"proxy-agent": "^5.0.0",
"qiniu": "7.9.0",
"qrcode.vue": "^3.4.1",
@@ -80,8 +80,8 @@
"upyun": "^3.4.6",
"uuid": "^9.0.1",
"video.js": "^8.6.1",
- "vue": "^3.3.13",
- "vue-router": "^4.2.5",
+ "vue": "^3.4.27",
+ "vue-router": "^4.3.2",
"vue3-lazyload": "^0.3.8",
"vue3-photo-preview": "^0.3.0",
"webdav": "^5.3.1",
@@ -114,7 +114,7 @@
"@vue/cli-service": "^5.0.8",
"@vue/eslint-config-standard": "^8.0.1",
"@vue/eslint-config-typescript": "^12.0.0",
- "@vue/runtime-dom": "^3.3.13",
+ "@vue/runtime-dom": "^3.4.27",
"conventional-changelog": "^5.1.0",
"cz-customizable": "^7.0.0",
"dotenv": "^16.3.1",
@@ -124,12 +124,12 @@
"eslint-config-standard": ">=16.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^6.1.1",
- "eslint-plugin-vue": "^9.18.1",
+ "eslint-plugin-promise": "^6.2.0",
+ "eslint-plugin-vue": "^9.26.0",
"husky": "^3.1.0",
"node-bump-version": "^1.0.2",
"node-loader": "^2.0.0",
- "npm-check-updates": "^16.14.12",
+ "npm-check-updates": "^16.14.20",
"stylus": "^0.59.0",
"stylus-loader": "^7.1.3",
"typescript": "^4.9.5",
diff --git a/public/i18n/en.yml b/public/i18n/en.yml
index f18e8c4..45e5f57 100644
--- a/public/i18n/en.yml
+++ b/public/i18n/en.yml
@@ -378,37 +378,37 @@ TIPS_GET_PLUGIN_LIST_FAILED: Get plugin list failed
# manageSetting
MANAGE_SETTING_TITLE: Manage Setting
-MANAGE_SETTING_AUTO_FRESH_TITLE: Auto refresh file list when entering new directory
-MANAGE_SETTING_AUTO_FRESH_TIPS: Only applies to non-paginated mode, data is cached to indexdb to speed up loading speed
+MANAGE_SETTING_ISAUTOREFRESH_TITLE: Auto refresh file list when entering new directory
+MANAGE_SETTING_ISAUTOREFRESH_TIPS: Only applies to non-paginated mode, data is cached to indexdb to speed up loading speed
MANAGE_SETTING_CLEAR_CACHE_TITLE: 'Clear file list cache database, currently in use:'
MANAGE_SETTING_CLEAR_CACHE_FREE_TITLE: 'Available:'
MANAGE_SETTING_CLEAR_CACHE_TIPS: After clearing, the file list will be reloaded when entering a new directory next time
MANAGE_SETTING_CLEAR_CACHE_PROMPT: Are you sure you want to clear the file list cache database?
MANAGE_SETTING_CLEAR_CACHE_BUTTON: Clear
-MANAGE_SETTING_SHOW_THUMBNAIL_TITLE: Display the original image instead of format icon (requires public access permissions)
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_TITLE: Default display mode for the file list
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_LIST: List
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_CARD: Card
-MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TITLE: Force custom URL to use HTTPS
-MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TIPS: After enabling, all operations will automatically add the https prefix to custom domains
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TITLE: Preserve directory structure when uploading
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TIPS: After disabling, all files will be expanded to the specified directory
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_A: Download
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_B: ' File '
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_C: will preserve the directory structure
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_D: ' Folder '
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_FILE_TIPS: After enabling, the original directory structure will be preserved
+MANAGE_SETTING_ISSHOWTHUMBNAIL_TITLE: Display the original image instead of format icon (requires public access permissions)
+MANAGE_SETTING_ISSHOWLIST_TITLE: Default display mode for the file list
+MANAGE_SETTING_ISSHOWLIST_ON: List
+MANAGE_SETTING_ISSHOWLIST_OFF: Card
+MANAGE_SETTING_ISFORCECUSTOMURLHTTPS_TITLE: Force custom URL to use HTTPS
+MANAGE_SETTING_ISFORCECUSTOMURLHTTPS_TIPS: After enabling, all operations will automatically add the https prefix to custom domains
+MANAGE_SETTING_ISUPLOADKEEPDIRSTRUCTURE_TITLE: Preserve directory structure when uploading
+MANAGE_SETTING_ISUPLOADKEEPDIRSTRUCTURE_TIPS: After disabling, all files will be expanded to the specified directory
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_A: Download
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_B: ' File '
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_C: will preserve the directory structure
+MANAGE_SETTING_ISDOWNLOADFOLDERKEEPDIRSTRUCTURE_TITLE_D: ' Folder '
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TIPS: After enabling, the original directory structure will be preserved
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_TITLE: Maximum number of files to download simultaneously (1-9999)
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_TIPS: Not work on Tencent
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_INPUT_TIPS: Please enter the maximum number of files to download simultaneously
-MANAGE_SETTING_SEARCH_IGNORE_CASE_TITLE: Should file search be case-insensitive
-MANAGE_SETTING_SEARCH_IGNORE_CASE_TIPS: After enabling, the search will be case-insensitive
-MANAGE_SETTING_TIMESTAMP_RENAME_TITLE: Rename uploaded files with timestamp - (highest priority)
-MANAGE_SETTING_TIMESTAMP_RENAME_TIPS: After enabling, the uploaded file will be renamed with the timestamp
-MANAGE_SETTING_RANDOM_STRING_RENAME_TITLE: Rename uploaded files with random strings - (medium priority)
-MANAGE_SETTING_RANDOM_STRING_RENAME_TIPS: Random string length is 20
-MANAGE_SETTING_CUSTOM_RENAME_TITLE: Rename uploaded files with custom names - (lowest priority)
-MANAGE_SETTING_CUSTOM_RENAME_TIPS: After enabling, the uploaded file will be renamed with the custom pattern
+MANAGE_SETTING_ISIGNORECASE_TITLE: Should file search be case-insensitive
+MANAGE_SETTING_ISIGNORECASE_TIPS: After enabling, the search will be case-insensitive
+MANAGE_SETTING_TIMESTAMPRENAME_TITLE: Rename uploaded files with timestamp - (highest priority)
+MANAGE_SETTING_TIMESTAMPRENAME_TIPS: After enabling, the uploaded file will be renamed with the timestamp
+MANAGE_SETTING_RANDOMSTRINGRENAME_TITLE: Rename uploaded files with random strings - (medium priority)
+MANAGE_SETTING_RANDOMSTRINGRENAME_TIPS: Random string length is 20
+MANAGE_SETTING_CUSTOMRENAME_TITLE: Rename uploaded files with custom names - (lowest priority)
+MANAGE_SETTING_CUSTOMRENAME_TIPS: After enabling, the uploaded file will be renamed with the custom pattern
MANAGE_SETTING_CUSTOM_PATTERN_TITLE: Custom rename format, placeholders can be freely combined, please refer to the table below
MANAGE_SETTING_CUSTOM_PATTERN_TIPS: Please enter the custom rename format
MANAGE_SETTING_CUSTOM_PATTERN_TABLE_TITLE: Placeholder
@@ -430,8 +430,8 @@ MANAGE_SETTING_CHOOSE_DOWNLOAD_FOLDER_BUTTON: Choose folder
MANAGE_SETTING_COPY_MESSAGE: Copied
MANAGE_SETTING_CLEAR_CACHE_SUCCESS: Cleared successfully
MANAGE_SETTING_CLEAR_CACHE_FAILED: Clear failed
-MANAGE_SETTING_ENCODE_URL_WHEN_COPY: Encode URL when copy
-MANAGE_SETTING_ENCODE_URL_WHEN_COPY_TIPS: After enabling, the URL will be encoded when copying
+MANAGE_SETTING_ISENCODEURL_TITLE: Encode URL when copy
+MANAGE_SETTING_ISENCODEURL_TIPS: After enabling, the URL will be encoded when copying
# Empty
MANAGE_NO_DATA: No data
diff --git a/public/i18n/zh-CN.yml b/public/i18n/zh-CN.yml
index 5083db2..9e7d199 100644
--- a/public/i18n/zh-CN.yml
+++ b/public/i18n/zh-CN.yml
@@ -380,37 +380,37 @@ TIPS_GET_PLUGIN_LIST_FAILED: 获取插件列表失败
# manageSetting
MANAGE_SETTING_TITLE: 管理页面设置
-MANAGE_SETTING_AUTO_FRESH_TITLE: 每次进入新目录时,是否自动刷新文件列表
-MANAGE_SETTING_AUTO_FRESH_TIPS: 仅对不分页模式有效,默认在加载过一次后自动缓存到数据库来加快下次加载速度
+MANAGE_SETTING_ISAUTOREFRESH_TITLE: 每次进入新目录时,是否自动刷新文件列表
+MANAGE_SETTING_ISAUTOREFRESH_TIPS: 仅对不分页模式有效,默认在加载过一次后自动缓存到数据库来加快下次加载速度
MANAGE_SETTING_CLEAR_CACHE_TITLE: '清空文件列表缓存数据库 已占用:'
MANAGE_SETTING_CLEAR_CACHE_FREE_TITLE: '剩余可用:'
MANAGE_SETTING_CLEAR_CACHE_TIPS: 清空后下次进入新目录时将会重新加载文件列表
MANAGE_SETTING_CLEAR_CACHE_PROMPT: 确定要清空文件列表缓存数据库吗?
MANAGE_SETTING_CLEAR_CACHE_BUTTON: 清空
-MANAGE_SETTING_SHOW_THUMBNAIL_TITLE: 图片显示为原图而非默认文件格式图标(需要存储桶可公开访问)
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_TITLE: 文件列表默认显示方式
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_LIST: 列表
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_CARD: 卡片
-MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TITLE: 为自定义域名开启强制HTTPS
-MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TIPS: 开启后, 复制链接等操作将会自动为自定义域名添加https前缀
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TITLE: 上传时保留目录结构
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TIPS: 关闭后会将所有文件展开到指定目录下
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_A: 下载
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_B: 文件
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_C: 时保留目录结构
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_D: 文件夹
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_FILE_TIPS: 开启后,下载时会保留原始目录结构
+MANAGE_SETTING_ISSHOWTHUMBNAIL_TITLE: 图片显示为原图而非默认文件格式图标(需要存储桶可公开访问)
+MANAGE_SETTING_ISSHOWLIST_TITLE: 文件列表默认显示方式
+MANAGE_SETTING_ISSHOWLIST_ON: 列表
+MANAGE_SETTING_ISSHOWLIST_OFF: 卡片
+MANAGE_SETTING_ISFORCECUSTOMURLHTTPS_TITLE: 为自定义域名开启强制HTTPS
+MANAGE_SETTING_ISFORCECUSTOMURLHTTPS_TIPS: 开启后, 复制链接等操作将会自动为自定义域名添加https前缀
+MANAGE_SETTING_ISUPLOADKEEPDIRSTRUCTURE_TITLE: 上传时保留目录结构
+MANAGE_SETTING_ISUPLOADKEEPDIRSTRUCTURE_TIPS: 关闭后会将所有文件展开到指定目录下
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_A: 下载
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_B: 文件
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_C: 时保留目录结构
+MANAGE_SETTING_ISDOWNLOADFOLDERKEEPDIRSTRUCTURE_TITLE_D: 文件夹
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TIPS: 开启后,下载时会保留原始目录结构
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_TITLE: 最大同时下载文件数(1-9999)
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_TIPS: 腾讯云由于后端实现不同,该设置不生效
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_INPUT_TIPS: 请输入最大同时下载文件数
-MANAGE_SETTING_SEARCH_IGNORE_CASE_TITLE: 文件搜索时,是否忽略大小写
-MANAGE_SETTING_SEARCH_IGNORE_CASE_TIPS: 开启后,搜索时会忽略大小写
-MANAGE_SETTING_TIMESTAMP_RENAME_TITLE: 上传文件时间戳重命名--(优先级最高)
-MANAGE_SETTING_TIMESTAMP_RENAME_TIPS: 开启后,上传文件时会自动重命名为时间戳
-MANAGE_SETTING_RANDOM_STRING_RENAME_TITLE: 上传文件随机字符串重命名--(优先级中)
-MANAGE_SETTING_RANDOM_STRING_RENAME_TIPS: 随机字符串长度为20
-MANAGE_SETTING_CUSTOM_RENAME_TITLE: 上传文件自定义重命名--(优先级最低)
-MANAGE_SETTING_CUSTOM_RENAME_TIPS: 请填写自定义重命名格式
+MANAGE_SETTING_ISIGNORECASE_TITLE: 文件搜索时,是否忽略大小写
+MANAGE_SETTING_ISIGNORECASE_TIPS: 开启后,搜索时会忽略大小写
+MANAGE_SETTING_TIMESTAMPRENAME_TITLE: 上传文件时间戳重命名--(优先级最高)
+MANAGE_SETTING_TIMESTAMPRENAME_TIPS: 开启后,上传文件时会自动重命名为时间戳
+MANAGE_SETTING_RANDOMSTRINGRENAME_TITLE: 上传文件随机字符串重命名--(优先级中)
+MANAGE_SETTING_RANDOMSTRINGRENAME_TIPS: 随机字符串长度为20
+MANAGE_SETTING_CUSTOMRENAME_TITLE: 上传文件自定义重命名--(优先级最低)
+MANAGE_SETTING_CUSTOMRENAME_TIPS: 请填写自定义重命名格式
MANAGE_SETTING_CUSTOM_PATTERN_TITLE: 自定义重命名格式,占位符请参考下表,可自由组合
MANAGE_SETTING_CUSTOM_PATTERN_TIPS: 请填写自定义重命名格式
MANAGE_SETTING_CUSTOM_PATTERN_TABLE_TITLE: 占位符
@@ -432,8 +432,8 @@ MANAGE_SETTING_CHOOSE_DOWNLOAD_FOLDER_BUTTON: 选择目录
MANAGE_SETTING_COPY_MESSAGE: 已复制
MANAGE_SETTING_CLEAR_CACHE_SUCCESS: 清除成功
MANAGE_SETTING_CLEAR_CACHE_FAILED: 清除失败
-MANAGE_SETTING_ENCODE_URL_WHEN_COPY: 复制链接时进行URL编码
-MANAGE_SETTING_ENCODE_URL_WHEN_COPY_TIPS: 根据平台选择是否开启
+MANAGE_SETTING_ISENCODEURL_TITLE: 复制链接时进行URL编码
+MANAGE_SETTING_ISENCODEURL_TIPS: 根据平台选择是否开启
# Empty
MANAGE_NO_DATA: 暂无数据
diff --git a/public/i18n/zh-TW.yml b/public/i18n/zh-TW.yml
index d468dfc..1adf279 100644
--- a/public/i18n/zh-TW.yml
+++ b/public/i18n/zh-TW.yml
@@ -378,37 +378,37 @@ TIPS_GET_PLUGIN_LIST_FAILED: 取得插件列表失敗
# manageSetting
MANAGE_SETTING_TITLE: 管理設定
-MANAGE_SETTING_AUTO_FRESH_TITLE: 每次進入新目錄時,是否自動重新整理檔案列表
-MANAGE_SETTING_AUTO_FRESH_TIPS: 僅對不分頁模式有效,預設會在載入後自動快取至資料庫以提升下次載入速度
+MANAGE_SETTING_ISAUTOREFRESH_TITLE: 每次進入新目錄時,是否自動重新整理檔案列表
+MANAGE_SETTING_ISAUTOREFRESH_TIPS: 僅對不分頁模式有效,預設會在載入後自動快取至資料庫以提升下次載入速度
MANAGE_SETTING_CLEAR_CACHE_TITLE: '清空檔案列表快取資料庫 已佔用:'
MANAGE_SETTING_CLEAR_CACHE_FREE_TITLE: '剩餘可用:'
MANAGE_SETTING_CLEAR_CACHE_TIPS: 清空後下次進入新目錄時將會重新載入檔案列表
MANAGE_SETTING_CLEAR_CACHE_PROMPT: 確定要清空檔案列表快取資料庫嗎?
MANAGE_SETTING_CLEAR_CACHE_BUTTON: 清空
-MANAGE_SETTING_SHOW_THUMBNAIL_TITLE: 顯示圖片的原始圖像而非預設的檔案格式圖示(需要存儲桶公開訪問權限)
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_TITLE: 檔案列表預設顯示方式
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_LIST: 列表
-MANAGE_SETTING_SHOW_FILE_LIST_TYPE_CARD: 卡片
-MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TITLE: 自定義域名啟用強制 HTTPS
-MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TIPS: 開啟後,複製鏈結等操作將會自動為自定義域名添加 HTTPS 前綴
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TITLE: 保留上傳時的目錄結構
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TIPS: 停用後,所有文件將會展開到指定目錄下
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_A: 下載
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_B: 文件
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_C: 時保留目錄結構
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_D: 目錄
-MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_FILE_TIPS: 啟用後,下載時會保留原始目錄結構
+MANAGE_SETTING_ISSHOWTHUMBNAIL_TITLE: 顯示圖片的原始圖像而非預設的檔案格式圖示(需要存儲桶公開訪問權限)
+MANAGE_SETTING_ISSHOWLIST_TITLE: 檔案列表預設顯示方式
+MANAGE_SETTING_ISSHOWLIST_ON: 列表
+MANAGE_SETTING_ISSHOWLIST_OFF: 卡片
+MANAGE_SETTING_ISFORCECUSTOMURLHTTPS_TITLE: 自定義域名啟用強制 HTTPS
+MANAGE_SETTING_ISFORCECUSTOMURLHTTPS_TIPS: 開啟後,複製鏈結等操作將會自動為自定義域名添加 HTTPS 前綴
+MANAGE_SETTING_ISUPLOADKEEPDIRSTRUCTURE_TITLE: 保留上傳時的目錄結構
+MANAGE_SETTING_ISUPLOADKEEPDIRSTRUCTURE_TIPS: 停用後,所有文件將會展開到指定目錄下
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_A: 下載
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_B: 文件
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TITLE_C: 時保留目錄結構
+MANAGE_SETTING_ISDOWNLOADFOLDERKEEPDIRSTRUCTURE_TITLE_D: 目錄
+MANAGE_SETTING_ISDOWNLOADFILEKEEPDIRSTRUCTURE_TIPS: 啟用後,下載時會保留原始目錄結構
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_TITLE: 最大同時下載檔案數量(1-9999)
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_TIPS: 由於後端實現方式不同,此設定在腾讯云上不生效
MANAGE_SETTING_MAX_DOWNLOAD_FILE_SIZE_INPUT_TIPS: 請輸入最大同時下載檔案數量
-MANAGE_SETTING_SEARCH_IGNORE_CASE_TITLE: 搜尋檔案時,是否忽略大小寫
-MANAGE_SETTING_SEARCH_IGNORE_CASE_TIPS: 啟用後,搜尋時將會忽略大小寫
-MANAGE_SETTING_TIMESTAMP_RENAME_TITLE: 上傳檔案時間戳重新命名--(最高優先級)
-MANAGE_SETTING_TIMESTAMP_RENAME_TIPS: 啟用後,上傳檔案時將會使用時間戳重新命名
-MANAGE_SETTING_RANDOM_STRING_RENAME_TITLE: 上傳檔案隨機字符串重新命名--(中優先級)
-MANAGE_SETTING_RANDOM_STRING_RENAME_TIPS: 隨機字符串長度為20
-MANAGE_SETTING_CUSTOM_RENAME_TITLE: 上傳檔案自定義重新命名--(最低優先級)
-MANAGE_SETTING_CUSTOM_RENAME_TIPS: 啟用後,上傳檔案時將會使用自定義重新命名
+MANAGE_SETTING_ISIGNORECASE_TITLE: 搜尋檔案時,是否忽略大小寫
+MANAGE_SETTING_ISIGNORECASE_TIPS: 啟用後,搜尋時將會忽略大小寫
+MANAGE_SETTING_TIMESTAMPRENAME_TITLE: 上傳檔案時間戳重新命名--(最高優先級)
+MANAGE_SETTING_TIMESTAMPRENAME_TIPS: 啟用後,上傳檔案時將會使用時間戳重新命名
+MANAGE_SETTING_RANDOMSTRINGRENAME_TITLE: 上傳檔案隨機字符串重新命名--(中優先級)
+MANAGE_SETTING_RANDOMSTRINGRENAME_TIPS: 隨機字符串長度為20
+MANAGE_SETTING_CUSTOMRENAME_TITLE: 上傳檔案自定義重新命名--(最低優先級)
+MANAGE_SETTING_CUSTOMRENAME_TIPS: 啟用後,上傳檔案時將會使用自定義重新命名
MANAGE_SETTING_CUSTOM_PATTERN_TITLE: 自訂重新命名格式,占位符請參考下表,可自由組合
MANAGE_SETTING_CUSTOM_PATTERN_TIPS: 請輸入自訂重新命名格式
MANAGE_SETTING_CUSTOM_PATTERN_TABLE_TITLE: 占位符
@@ -430,8 +430,8 @@ MANAGE_SETTING_CHOOSE_DOWNLOAD_FOLDER_BUTTON: 選擇目錄
MANAGE_SETTING_COPY_MESSAGE: 已複製
MANAGE_SETTING_CLEAR_CACHE_SUCCESS: 清除成功
MANAGE_SETTING_CLEAR_CACHE_FAILED: 清除失敗
-MANAGE_SETTING_ENCODE_URL_WHEN_COPY: 複製鏈結時編碼
-MANAGE_SETTING_ENCODE_URL_WHEN_COPY_TIPS: 啟用後,複製鏈結時將會編碼
+MANAGE_SETTING_ISENCODEURL_TITLE: 複製鏈結時編碼
+MANAGE_SETTING_ISENCODEURL_TIPS: 啟用後,複製鏈結時將會編碼
# Empty
MANAGE_NO_DATA: 暫無數據
diff --git a/src/renderer/manage/components/DynamicSwitch.vue b/src/renderer/manage/components/DynamicSwitch.vue
new file mode 100644
index 0000000..c69e1f1
--- /dev/null
+++ b/src/renderer/manage/components/DynamicSwitch.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+ {{ segment.text }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/renderer/manage/pages/manageSetting.vue b/src/renderer/manage/pages/manageSetting.vue
index 30bca98..213c6af 100644
--- a/src/renderer/manage/pages/manageSetting.vue
+++ b/src/renderer/manage/pages/manageSetting.vue
@@ -24,31 +24,6 @@
size="default"
style="position: relative;width: 100%;"
>
-
-
-
- {{ $T('MANAGE_SETTING_AUTO_FRESH_TITLE') }}
-
-
-
-
-
-
-
-
-
{{ $T('MANAGE_SETTING_CLEAR_CACHE_TITLE') }}
{{ formatFileSize(dbSize) === ''? 0 : formatFileSize(dbSize) }}
- {{ $T('MANAGE_SETTING_CLEAR_CACHE_FREE_TITLE') }}
+ >{{ formatFileSize(dbSize) === ''? 0 : formatFileSize(dbSize) }}
+ {{ $T('MANAGE_SETTING_CLEAR_CACHE_FREE_TITLE') }}
{{ dbSizeAvailableRate }} %
@@ -95,165 +70,54 @@
-
-
-
- {{ $T('MANAGE_SETTING_SHOW_THUMBNAIL_TITLE') }}
-
-
-
+
+ {{ $T('MANAGE_SETTING_CUSTOM_PATTERN_TITLE') }}
+
+
+
+
-
-
-
-
- {{ $T('MANAGE_SETTING_SHOW_FILE_LIST_TYPE_TITLE') }}
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_FORCE_CUSTOM_URL_HTTPS_TITLE') }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_ENCODE_URL_WHEN_COPY') }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_UPLOAD_TITLE') }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_A') }}
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_B') }}
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_C') }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_A') }}
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_D') }}
- {{ $T('MANAGE_SETTING_KEEP_FOLDER_STRUCTURE_DOWNLOAD_TITLE_C') }}
-
-
-
-
-
-
-
-
-
+
+
+
- {{ $T('MANAGE_SETTING_SEARCH_IGNORE_CASE_TITLE') }}
+ {{ $T('MANAGE_SETTING_PRESIGNED_URL_EXPIRE_TITLE') }}
-
-
-
-
- {{ $T('MANAGE_SETTING_TIMESTAMP_RENAME_TITLE') }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_RANDOM_STRING_RENAME_TITLE') }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_CUSTOM_RENAME_TITLE') }}
-
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_CUSTOM_PATTERN_TITLE') }}
-
-
-
-
-
-
-
-
-
- {{ $T('MANAGE_SETTING_PRESIGNED_URL_EXPIRE_TITLE') }}
-
-
-
- {{ $T('MANAGE_SETTING_CHOOSE_COPY_FORMAT_MARKDOWN') }}
-
-
- {{ $T('MANAGE_SETTING_CHOOSE_COPY_FORMAT_MARKDOWN_WITH_LINK') }}
-
-
- {{ $T('MANAGE_SETTING_CHOOSE_COPY_FORMAT_RAWURL') }}
-
-
- {{ $T('MANAGE_SETTING_CHOOSE_COPY_FORMAT_HTML') }}
-
-
- {{ $T('MANAGE_SETTING_CHOOSE_COPY_FORMAT_BBCODE') }}
-
-
- {{ $T('MANAGE_SETTING_CHOOSE_COPY_FORMAT_CUSTOM') }}
+
+ {{ $T(`MANAGE_SETTING_CHOOSE_COPY_FORMAT_${item.toUpperCase().replace(/-/g, '_')}` as any) }}
{{ $T('MANAGE_SETTING_CUSTOM_COPY_FORMAT_TITLE') }}
@@ -487,7 +213,7 @@