✨ 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: STASH_BOX_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
label:
|
||||
en: Data persistence path
|
||||
zh: 数据持久化路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 9999
|
||||
@@ -12,6 +15,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
label:
|
||||
en: WebUI port
|
||||
zh: WebUI 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: HTTP_PROXY
|
||||
labelZh: 网络代理地址
|
||||
labelEn: Network proxy address
|
||||
label:
|
||||
en: Network proxy address
|
||||
zh: 网络代理地址
|
||||
required: false
|
||||
type: text
|
||||
- default: "localhost,127.0.0.1,::1,192.168.0.0/16,10.0.0.0/8,*.local"
|
||||
@@ -27,5 +36,8 @@ additionalProperties:
|
||||
envKey: NO_PROXY
|
||||
labelZh: 跳过代理地址
|
||||
labelEn: Skip proxy address
|
||||
label:
|
||||
en: Skip proxy address
|
||||
zh: 跳过代理地址
|
||||
required: false
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user