✨ 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: PANEL_APP_PORT_HTTPS
|
||||
labelEn: HTTPS Port
|
||||
labelZh: HTTPS 端口
|
||||
label:
|
||||
en: HTTPS Port
|
||||
zh: HTTPS 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -21,6 +27,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_CONSOLE
|
||||
labelEn: Console Port
|
||||
labelZh: 控制台端口
|
||||
label:
|
||||
en: Console Port
|
||||
zh: 控制台端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -29,12 +38,18 @@ additionalProperties:
|
||||
envKey: TIME_ZONE
|
||||
labelEn: Time zone
|
||||
labelZh: 时区
|
||||
label:
|
||||
en: Time zone
|
||||
zh: 时区
|
||||
required: true
|
||||
type: text
|
||||
- default: "Safe3.WAF"
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
label:
|
||||
en: Password
|
||||
zh: 数据库用户密码
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
@@ -43,5 +58,8 @@ additionalProperties:
|
||||
envKey: MYSQL_MAX_CONNECTIONS
|
||||
labelEn: MySQL Max Connections
|
||||
labelZh: 数据库最大连接数
|
||||
label:
|
||||
en: MySQL Max Connections
|
||||
zh: 数据库最大连接数
|
||||
required: true
|
||||
type: number
|
||||
|
||||
Reference in New Issue
Block a user