1
0

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:
pooneyy
2025-11-06 23:35:02 +08:00
parent 24ed5c9e9d
commit 9779122311
914 changed files with 17477 additions and 886 deletions

View File

@@ -5,6 +5,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTP
labelEn: Web Panel Port
labelZh: 面板端口
label:
en: Web Panel Port
zh: 面板端口
required: true
rule: paramPort
type: number
@@ -13,6 +16,9 @@ additionalProperties:
envKey: CLOSE_ADMIN_PATH
labelEn: Close Admin Path
labelZh: 关闭管理路径
label:
en: Close Admin Path
zh: 关闭管理路径
required: true
type: select
values:
@@ -25,6 +31,9 @@ additionalProperties:
envKey: USERNAME
labelEn: Username
labelZh: 用户名
label:
en: Username
zh: 用户名
random: true
required: true
type: text
@@ -33,6 +42,9 @@ additionalProperties:
envKey: PASSWORD
labelEn: Password
labelZh: 密码
label:
en: Password
zh: 密码
random: true
required: true
rule: paramComplexity