✨ feat(apps): add structured label field to all application configurations
- add nested label field with en and zh translations for all parameters - maintain existing labelEn and labelZh fields for backward compatibility - apply consistent internationalization structure across all apps - improve localization support for multi-language user interfaces
This commit is contained in:
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,6 +16,9 @@ additionalProperties:
|
||||
envKey: IYUU_PATH
|
||||
labelEn: IYUU Path
|
||||
labelZh: IYUU 路径
|
||||
label:
|
||||
en: IYUU Path
|
||||
zh: IYUU 路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/data"
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
label:
|
||||
en: Data Path
|
||||
zh: 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/qbittorrent"
|
||||
@@ -27,6 +36,9 @@ additionalProperties:
|
||||
envKey: QBITTORRENT_PATH
|
||||
labelEn: QBittorrent Path
|
||||
labelZh: QBittorrent 路径
|
||||
label:
|
||||
en: QBittorrent Path
|
||||
zh: QBittorrent 路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/qbittorrent"
|
||||
@@ -34,6 +46,9 @@ additionalProperties:
|
||||
envKey: INTERNAL_QBITTORRENT_PATH
|
||||
labelEn: Internal QBittorrent Path
|
||||
labelZh: 内部 QBittorrent 路径
|
||||
label:
|
||||
en: Internal QBittorrent Path
|
||||
zh: 内部 QBittorrent 路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/transmission"
|
||||
@@ -41,6 +56,9 @@ additionalProperties:
|
||||
envKey: TRANSMISSION_PATH
|
||||
labelEn: Transmission Path
|
||||
labelZh: Transmission 路径
|
||||
label:
|
||||
en: Transmission Path
|
||||
zh: Transmission 路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/transmission"
|
||||
@@ -48,6 +66,9 @@ additionalProperties:
|
||||
envKey: INTERNAL_TRANSMISSION_PATH
|
||||
labelEn: Internal Transmission Path
|
||||
labelZh: 内部 Transmission 路径
|
||||
label:
|
||||
en: Internal Transmission Path
|
||||
zh: 内部 Transmission 路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/mnt"
|
||||
@@ -55,6 +76,9 @@ additionalProperties:
|
||||
envKey: EXTERNAL_MOUNT_PATH
|
||||
labelEn: External Mount Path
|
||||
labelZh: 外部挂载路径
|
||||
label:
|
||||
en: External Mount Path
|
||||
zh: 外部挂载路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/mnt"
|
||||
@@ -62,5 +86,8 @@ additionalProperties:
|
||||
envKey: INTERNAL_MOUNT_PATH
|
||||
labelEn: Internal Mount Path
|
||||
labelZh: 内部挂载路径
|
||||
label:
|
||||
en: Internal Mount Path
|
||||
zh: 内部挂载路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user