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

@@ -10,6 +10,9 @@ additionalProperties:
default: mysql
labelEn: Database Service
labelZh: 数据库服务
label:
en: Database Service
zh: 数据库服务
params:
- envKey: CHEMEX_DB_PORT
key: mysql
@@ -28,6 +31,9 @@ additionalProperties:
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
random: true
required: true
rule: paramCommon
@@ -36,6 +42,9 @@ additionalProperties:
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
label:
en: User
zh: 数据库用户
random: true
required: true
rule: paramCommon
@@ -44,6 +53,9 @@ additionalProperties:
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
label:
en: Password
zh: 数据库用户密码
random: true
required: true
rule: paramComplexity
@@ -53,6 +65,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
@@ -61,6 +76,9 @@ additionalProperties:
envKey: ENV_PATH
labelEn: Environment configuration file path
labelZh: 环境配置文件路径
label:
en: Environment configuration file path
zh: 环境配置文件路径
required: true
type: text
- default: ""
@@ -68,12 +86,18 @@ additionalProperties:
key: redis
labelEn: Redis Service
labelZh: Redis 服务
label:
en: Redis Service
zh: Redis 服务
required: true
type: service
- default: ""
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Redis Password
labelZh: Redis 密码
label:
en: Redis Password
zh: Redis 密码
required: true
type: password
- default: 6379
@@ -81,6 +105,9 @@ additionalProperties:
envKey: REDIS_DB_PORT
labelEn: Redis Port
labelZh: Redis端口
label:
en: Redis Port
zh: Redis端口
required: true
rule: paramPort
type: number