✨ 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,12 +16,18 @@ additionalProperties:
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
label:
|
||||
en: Data folder path
|
||||
zh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: AESPWD
|
||||
envKey: AES_PWD
|
||||
labelEn: AES encryption key
|
||||
labelZh: AES加密密钥
|
||||
label:
|
||||
en: AES encryption key
|
||||
zh: AES加密密钥
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
@@ -27,9 +36,10 @@ additionalProperties:
|
||||
envKey: COOKIE_PWD
|
||||
labelEn: COOKIE encryption key
|
||||
labelZh: COOKIE加密密钥
|
||||
label:
|
||||
en: COOKIE encryption key
|
||||
zh: COOKIE加密密钥
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: http
|
||||
edit: true
|
||||
|
||||
Reference in New Issue
Block a user