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: Port
labelZh: HTTP 端口
label:
en: Port
zh: HTTP 端口
required: true
rule: paramPort
type: number
@@ -13,6 +16,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTPS
labelEn: Port
labelZh: HTTPS 端口
label:
en: Port
zh: HTTPS 端口
required: true
rule: paramPort
type: number
@@ -21,6 +27,9 @@ additionalProperties:
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
label:
en: Data Path
zh: 数据路径
required: true
type: text
- default: "Asia/Shanghai"
@@ -28,6 +37,9 @@ additionalProperties:
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
label:
en: Time Zone
zh: 时区
required: true
type: text
- default: ""
@@ -35,6 +47,9 @@ additionalProperties:
envKey: EMAIL
labelEn: Mailbox for automatic https certificate application
labelZh: 用于自动申请 https 证书的邮箱
label:
en: Mailbox for automatic https certificate application
zh: 用于自动申请 https 证书的邮箱
required: false
type: text
- default: ""
@@ -42,12 +57,18 @@ additionalProperties:
envKey: VAN_BLOG_CDN_URL
labelEn: CDN URL
labelZh: CDN 地址
label:
en: CDN URL
zh: CDN 地址
required: false
type: text
- default: "waline"
envKey: VAN_BLOG_WALINE_DB
labelEn: Database name of the embedded commenting system
labelZh: 内嵌评论系统的数据库名
label:
en: Database name of the embedded commenting system
zh: 内嵌评论系统的数据库名
required: false
type: text
edit: true
@@ -57,6 +78,9 @@ additionalProperties:
key: mongodb
labelEn: Database Service
labelZh: 数据库服务
label:
en: Database Service
zh: 数据库服务
required: true
type: service
- default: "vanblog"
@@ -64,6 +88,9 @@ additionalProperties:
envKey: MONGO_DB
labelEn: Database Name
labelZh: 数据库名
label:
en: Database Name
zh: 数据库名
random: true
required: true
rule: paramCommon
@@ -73,6 +100,9 @@ additionalProperties:
envKey: PANEL_DB_ROOT_USER
labelEn: Database User Name
labelZh: 数据库用户名
label:
en: Database User Name
zh: 数据库用户名
required: true
rule: paramCommon
type: text
@@ -81,6 +111,9 @@ additionalProperties:
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Database User Password
labelZh: 数据库密码
label:
en: Database User Password
zh: 数据库密码
required: true
rule: paramCommon
type: password