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: SEAWEEDFS_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
label:
en: Data persistence path
zh: 数据持久化路径
required: true
type: text
- default: 8333
@@ -12,6 +15,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
label:
en: WebUI port
zh: WebUI 端口
required: true
rule: paramPort
type: number
@@ -20,6 +26,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_S3_METRICS
labelZh: S3 监控端口
labelEn: S3 Metrics port
label:
en: S3 Metrics port
zh: S3 监控端口
required: true
rule: paramPort
type: number
@@ -28,6 +37,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_MASTER_SERVER
labelZh: 集群服务端口
labelEn: Cluster service port
label:
en: Cluster service port
zh: 集群服务端口
required: true
rule: paramPort
type: number
@@ -36,6 +48,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_MASTER_API
labelZh: 集群通讯端口
labelEn: Cluster communication port
label:
en: Cluster communication port
zh: 集群通讯端口
required: true
rule: paramPort
type: number
@@ -44,6 +59,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_MASTER_METRICS
labelZh: 集群监控端口
labelEn: Cluster Metrics port
label:
en: Cluster Metrics port
zh: 集群监控端口
required: true
rule: paramPort
type: number
@@ -52,6 +70,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_VOLUME_SERVER
labelZh: 存储服务端口
labelEn: Storage service port
label:
en: Storage service port
zh: 存储服务端口
required: true
rule: paramPort
type: number
@@ -60,6 +81,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_VOLUME_API
labelZh: 存储通讯端口
labelEn: Storage communication port
label:
en: Storage communication port
zh: 存储通讯端口
required: true
rule: paramPort
type: number
@@ -68,6 +92,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_VOLUME_METRICS
labelZh: 存储监控端口
labelEn: Storage Metrics port
label:
en: Storage Metrics port
zh: 存储监控端口
required: true
rule: paramPort
type: number
@@ -76,6 +103,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_FILER_SERVER
labelZh: 索引服务端口
labelEn: Index service port
label:
en: Index service port
zh: 索引服务端口
required: true
rule: paramPort
type: number
@@ -84,6 +114,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_FILER_API
labelZh: 索引通讯端口
labelEn: Index communication port
label:
en: Index communication port
zh: 索引通讯端口
required: true
rule: paramPort
type: number
@@ -92,6 +125,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_FILER_METRICS
labelZh: 索引监控端口
labelEn: Index Metrics port
label:
en: Index Metrics port
zh: 索引监控端口
required: true
rule: paramPort
type: number
@@ -100,6 +136,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_WEBDAV
labelZh: WebDAV 端口
labelEn: WebDAV port
label:
en: WebDAV port
zh: WebDAV 端口
required: true
rule: paramPort
type: number
@@ -108,6 +147,9 @@ additionalProperties:
envKey: PANEL_APP_PORT_METRICS
labelZh: Prometheus 端口
labelEn: Prometheus port
label:
en: Prometheus port
zh: Prometheus 端口
required: true
rule: paramPort
type: number
@@ -116,6 +158,9 @@ additionalProperties:
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
label:
en: Custom mount directory 1
zh: 自定义挂载目录 1
required: false
type: text
- default: ""
@@ -123,6 +168,9 @@ additionalProperties:
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
label:
en: Custom mount directory 2
zh: 自定义挂载目录 2
required: false
type: text
- default: ""
@@ -130,5 +178,8 @@ additionalProperties:
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
label:
en: Custom mount directory 3
zh: 自定义挂载目录 3
required: false
type: text