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: HTTP Port
labelZh: HTTP端口
label:
en: HTTP Port
zh: HTTP端口
required: true
rule: paramPort
type: number
@@ -14,6 +17,9 @@ additionalProperties:
key: postgresql
labelEn: Postgres database Service
labelZh: Postgres数据库服务
label:
en: Postgres database Service
zh: Postgres数据库服务
required: true
type: service
- default: "5432"
@@ -21,6 +27,9 @@ additionalProperties:
envKey: POSTGRES_PORT
labelEn: Postgres database Service Port
labelZh: Postgres数据库服务端口
label:
en: Postgres database Service Port
zh: Postgres数据库服务端口
required: true
rule: paramPort
type: number
@@ -29,6 +38,9 @@ additionalProperties:
envKey: POSTGRES_DB
labelEn: Postgres database Name
labelZh: Postgres数据库名
label:
en: Postgres database Name
zh: Postgres数据库名
required: true
rule: paramCommon
type: text
@@ -37,6 +49,9 @@ additionalProperties:
envKey: POSTGRES_USER
labelEn: Postgres database User Name
labelZh: Postgres数据库用户名
label:
en: Postgres database User Name
zh: Postgres数据库用户名
required: true
rule: paramCommon
type: text
@@ -45,6 +60,9 @@ additionalProperties:
envKey: POSTGRES_PWD
labelEn: Postgres database User Password
labelZh: Postgres数据库密码
label:
en: Postgres database User Password
zh: Postgres数据库密码
required: true
rule: paramCommon
type: password
@@ -53,5 +71,8 @@ additionalProperties:
envKey: JOPLIN_EXTERNAL_URL
labelEn: External URL
labelZh: 外部访问地址
label:
en: External URL
zh: 外部访问地址
required: true
type: text