diff --git a/commons/data/languages.ts b/commons/data/languages.ts index 4b18aee..5a42862 100644 --- a/commons/data/languages.ts +++ b/commons/data/languages.ts @@ -205,12 +205,14 @@ let simplifiedChinese = { parameters: "参数", password: "密码", pasteIcon: "粘贴图标", + path: "路径", powerOptions: "电源选项", powerShell: "PowerShell", programsFeatures: "程序和功能", proxy: "代理", proxyPrompt: "仅支持HTTP代理,填写“地址”时需要带通信协议和端口,例如:http://127.0.0.1:7890,如果没有用户名和密码,为空即可。", + prompt: "提示", quickSearch: "快速搜索", recordOpenNumber: "记录打开次数", recycleBin: "回收站", @@ -258,6 +260,7 @@ let simplifiedChinese = { showHide: "显示/隐藏", showOnlyFiles: "只显示文件", showOnlyFolders: "只显示文件夹", + showPath: "显示路径", shutdown: "关机", simplifiedChinese: "简体中文", size: "尺寸", @@ -509,12 +512,14 @@ let traditionalChinese = { parameters: "參數", password: "密碼", pasteIcon: "粘貼圖標", + path: "路徑", powerOptions: "電源選項", powerShell: "PowerShell", programsFeatures: "程序和功能", proxy: "代理", proxyPrompt: "僅支持HTTP代理,填寫「地址」時需要帶通信協議和端口,例如:http://127.0.0.1:7890,如果沒有用戶名和密碼,為空即可。", + prompt: "提示", quickSearch: "快速搜索", recordOpenNumber: "記錄打開次數", recycleBin: "回收站", @@ -562,6 +567,7 @@ let traditionalChinese = { showHide: "顯示/隱藏", showOnlyFiles: "只顯示文件", showOnlyFolders: "只顯示文件夾", + showPath: "顯示路徑", shutdown: "關機", simplifiedChinese: "簡體中文", size: "尺寸", @@ -821,12 +827,14 @@ let english = { parameters: "Parameters", password: "Password", pasteIcon: "Paste Icon", + path: "Path", powerOptions: "Power Options", powerShell: "PowerShell", programsFeatures: "Programs Features", proxy: "Proxy", proxyPrompt: 'Only HTTP proxy is supported. When filling in the "address", you need to include the communication protocol and port, for example: http://127.0.0.1:7890. If there is no username and password, just leave it blank.', + prompt: "Prompt", quickSearch: "Quick Search", recordOpenNumber: "Record Open Count", recycleBin: "Recycle Bin", @@ -884,6 +892,7 @@ let english = { showHide: "Show/Hide", showOnlyFiles: "Show Only Files", showOnlyFolders: "Show Only Folders", + showPath: "Show Path", shutdown: "Shutdown", simplifiedChinese: "Simplified Chinese", size: "Size", diff --git a/commons/utils/setting.ts b/commons/utils/setting.ts index e0bf350..5e4a731 100644 --- a/commons/utils/setting.ts +++ b/commons/utils/setting.ts @@ -224,6 +224,7 @@ function getItem({ fontSize = 14, fontWeight = 400, fontLineHeight = 1.25, + promptShowPath = false, }: { layout?: string | null; iconSize?: number | null; @@ -240,6 +241,7 @@ function getItem({ fontSize?: number | null; fontWeight?: number | null; fontLineHeight?: number | null; + promptShowPath?: boolean | null; }): Item { return { layout: layout ?? "tile", @@ -257,6 +259,7 @@ function getItem({ fontSize: fontSize ?? 14, fontWeight: fontWeight ?? 400, fontLineHeight: fontLineHeight ?? 1.25, + promptShowPath: promptShowPath ?? false, }; } diff --git a/src/pages/item/AddEdit.vue b/src/pages/item/AddEdit.vue index f4ac3f8..ab941d5 100644 --- a/src/pages/item/AddEdit.vue +++ b/src/pages/item/AddEdit.vue @@ -247,7 +247,9 @@ (selectedMenuId === 4 && id) " > - {{ store.language.target }} + {{ + selectedMenuId === 2 ? store.language.url : store.language.path + }} + + {{ + store.language.prompt + }} + + {{ store.language.showPath }} + +