✨ 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:
@@ -4,6 +4,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP 端口
|
||||
label:
|
||||
en: HTTP Port
|
||||
zh: HTTP 端口
|
||||
required: true
|
||||
edit: true
|
||||
rule: paramPort
|
||||
@@ -12,6 +15,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PASSWORD
|
||||
labelEn: Access Password
|
||||
labelZh: 访问密码
|
||||
label:
|
||||
en: Access Password
|
||||
zh: 访问密码
|
||||
random: true
|
||||
required: true
|
||||
edit: true
|
||||
@@ -21,6 +27,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_ADMIN_PASSWORD
|
||||
labelEn: Access Password
|
||||
labelZh: 管理密码
|
||||
label:
|
||||
en: Access Password
|
||||
zh: 管理密码
|
||||
random: true
|
||||
required: true
|
||||
edit: true
|
||||
|
||||
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,5 +16,8 @@ additionalProperties:
|
||||
envKey: PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 密码
|
||||
label:
|
||||
en: Password
|
||||
zh: 密码
|
||||
required: true
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user