diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 835649d..47c3dee 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -210,7 +210,8 @@ "vfs-cache-mode-writes": "Cache local writes, upload file contents after writing completes", "vfs-read-chunk-size": "Read chunk size (default 128M)", "webdav-bearer-token": "Custom bearer token", - "webdav-headers": "Set custom HTTP headers" + "webdav-headers": "Set custom HTTP headers", + "volname": "Set Windows volume name after mount" }, "flagPlaceholder": "e.g., --vfs-cache-mode=full", "mountPoint": "Mount Path", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index a1596c6..4ebc80e 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -209,6 +209,7 @@ "vfs-cache-mode-minimal": "只缓存文件的元信息", "vfs-cache-mode-writes": "缓存本地写入,文件内容写入完成后上传", "vfs-read-chunk-size": "读取块大小(默认 128M)", + "volname": "设置挂载后的windows卷名", "webdav-bearer-token": "自定义token", "webdav-headers": "设置自定义 HTTP 标头" }, diff --git a/src/views/MountView.vue b/src/views/MountView.vue index 365ef63..093e2ce 100644 --- a/src/views/MountView.vue +++ b/src/views/MountView.vue @@ -641,6 +641,12 @@ const commonFlags = [ { flag: '--progress', value: '', descriptionKey: 'progress' }, ], }, + { + category: 'Windows Specific', + flags: [ + { flag: '--volname', value: 'OpenlistDAV', descriptionKey: 'volname' }, + ], + }, ] const filterList = computed(() => [