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: EXTERNAL_IP
labelEn: ipAddress
labelZh: 外部访问 IP
label:
en: ipAddress
zh: 外部访问 IP
required: true
type: text
- default: "5001"
@@ -12,6 +15,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_API
labelEn: WuKongIM api port
labelZh: 悟空 IM api 端口
label:
en: WuKongIM api port
zh: 悟空 IM api 端口
required: true
rule: paramPort
type: number
@@ -20,6 +26,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_TCP
labelEn: WuKongIM tcp port
labelZh: 悟空 IM TCP 端口
label:
en: WuKongIM tcp port
zh: 悟空 IM TCP 端口
required: true
rule: paramPort
type: number
@@ -28,6 +37,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_WS
labelEn: WuKongIM ws port
labelZh: 悟空 IM WS 端口
label:
en: WuKongIM ws port
zh: 悟空 IM WS 端口
required: true
rule: paramPort
type: number
@@ -36,6 +48,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTP
labelEn: WuKongIM web port
labelZh: 悟空 IM 监控端口
label:
en: WuKongIM web port
zh: 悟空 IM 监控端口
required: true
rule: paramPort
type: number
@@ -44,6 +59,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
labelEn: WuKongIM demo port
labelZh: 悟空 IM demo 端口
label:
en: WuKongIM demo port
zh: 悟空 IM demo 端口
required: true
rule: paramPort
type: number

View File

@@ -5,6 +5,9 @@ additionalProperties:
envKey: EXTERNAL_IP
labelEn: ipAddress
labelZh: 外部访问 IP
label:
en: ipAddress
zh: 外部访问 IP
required: true
type: text
- default: "5001"
@@ -12,6 +15,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_API
labelEn: WuKongIM api port
labelZh: 悟空 IM api 端口
label:
en: WuKongIM api port
zh: 悟空 IM api 端口
required: true
rule: paramPort
type: number
@@ -20,6 +26,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_TCP
labelEn: WuKongIM tcp port
labelZh: 悟空 IM TCP 端口
label:
en: WuKongIM tcp port
zh: 悟空 IM TCP 端口
required: true
rule: paramPort
type: number
@@ -28,6 +37,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_WS
labelEn: WuKongIM ws port
labelZh: 悟空 IM WS 端口
label:
en: WuKongIM ws port
zh: 悟空 IM WS 端口
required: true
rule: paramPort
type: number
@@ -36,6 +48,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTP
labelEn: WuKongIM web port
labelZh: 悟空 IM 监控端口
label:
en: WuKongIM web port
zh: 悟空 IM 监控端口
required: true
rule: paramPort
type: number
@@ -44,6 +59,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
labelEn: WuKongIM demo port
labelZh: 悟空 IM demo 端口
label:
en: WuKongIM demo port
zh: 悟空 IM demo 端口
required: true
rule: paramPort
type: number
@@ -52,6 +70,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_COMM
labelEn: WuKongIM Node Communication Port
labelZh: 悟空 IM 节点通讯端口
label:
en: WuKongIM Node Communication Port
zh: 悟空 IM 节点通讯端口
required: true
rule: paramPort
type: number
@@ -60,6 +81,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_STATS
labelEn: Prometheus port
labelZh: Prometheus 端口
label:
en: Prometheus port
zh: Prometheus 端口
required: true
rule: paramPort
type: number