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

@@ -4,6 +4,9 @@ additionalProperties:
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
random: true
required: true
rule: paramCommon
@@ -12,6 +15,9 @@ additionalProperties:
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
label:
en: User
zh: 数据库用户
random: true
required: true
rule: paramCommon
@@ -20,6 +26,9 @@ additionalProperties:
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
label:
en: Password
zh: 数据库用户密码
random: true
required: true
rule: paramComplexity
@@ -29,6 +38,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
@@ -37,6 +49,9 @@ additionalProperties:
envKey: DATA_PATH
labelEn: Data storage folder
labelZh: 数据存放文件夹
label:
en: Data storage folder
zh: 数据存放文件夹
required: true
type: text
- default: /root/.ssh/id_rsa
@@ -44,12 +59,18 @@ additionalProperties:
envKey: SSH_KEY_PATH
labelEn: SSH key file
labelZh: SSH 私钥文件
label:
en: SSH key file
zh: SSH 私钥文件
required: true
type: text
- default: aurora
envKey: SECRECY_KEY
labelEn: Secret Key
labelZh: 保密密码
label:
en: Secret Key
zh: 保密密码
random: true
required: true
rule: paramComplexity