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: NPS_SERVER_ADDR
labelEn: NPS server address
labelZh: NPS 服务端地址
label:
en: NPS server address
zh: NPS 服务端地址
required: true
type: text
- default: "xly7traGe3r0t6UWltristuh1"
@@ -12,6 +15,9 @@ additionalProperties:
envKey: NPS_VKEY
labelEn: Client connection key displayed by the server
labelZh: 服务端显示的客户端连接密钥
label:
en: Client connection key displayed by the server
zh: 服务端显示的客户端连接密钥
required: true
rule: paramCommon
type: text
@@ -19,6 +25,9 @@ additionalProperties:
envKey: TLS_ENABLE_SWITCH
labelEn: Whether TLS is enabled for server-client communication
labelZh: 服务端与客户端的通信是否启用 TLS
label:
en: Whether TLS is enabled for server-client communication
zh: 服务端与客户端的通信是否启用 TLS
required: true
type: select
values:

View File

@@ -5,6 +5,9 @@ additionalProperties:
envKey: NPS_SERVER_ADDR
labelEn: NPS server address
labelZh: NPS 服务端地址
label:
en: NPS server address
zh: NPS 服务端地址
required: true
type: text
- default: "xly7traGe3r0t6UWltristuh1"
@@ -12,6 +15,9 @@ additionalProperties:
envKey: NPS_VKEY
labelEn: Client connection key displayed by the server
labelZh: 服务端显示的客户端连接密钥
label:
en: Client connection key displayed by the server
zh: 服务端显示的客户端连接密钥
required: true
rule: paramCommon
type: text