✨ 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: HTTP Port
|
||||
labelZh: HTTP 端口
|
||||
label:
|
||||
en: HTTP Port
|
||||
zh: HTTP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,6 +16,9 @@ additionalProperties:
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
label:
|
||||
en: Data folder path
|
||||
zh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: secret
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: JWT_SECRET
|
||||
labelEn: JWT Secret
|
||||
labelZh: JWT密码
|
||||
label:
|
||||
en: JWT Secret
|
||||
zh: JWT密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
|
||||
Reference in New Issue
Block a user