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: Console Port
labelZh: 控制台端口
label:
en: Console Port
zh: 控制台端口
required: true
rule: paramPort
type: number
@@ -13,6 +16,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_SERVER
labelEn: ZeroTier Service Port
labelZh: ZeroTier服务端口
label:
en: ZeroTier Service Port
zh: ZeroTier服务端口
required: true
rule: paramPort
type: number
@@ -21,6 +27,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_DOWNLOAD
labelEn: Planet/moon file download port
labelZh: planet/moon文件在线下载端口
label:
en: Planet/moon file download port
zh: planet/moon文件在线下载端口
required: true
rule: paramPort
type: number
@@ -29,6 +38,9 @@ additionalProperties:
envKey: HOST_IP_ADDR
labelEn: Native IP address
labelZh: 本机IP地址
label:
en: Native IP address
zh: 本机IP地址
required: true
type: text
- default: zerotier
@@ -36,6 +48,9 @@ additionalProperties:
envKey: PASSWORD
labelEn: Password
labelZh: 密码
label:
en: Password
zh: 密码
random: true
required: true
rule: paramComplexity