✨ 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:
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: OPENRESTY_MANAGER_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
label:
|
||||
en: Data persistence path
|
||||
zh: 数据持久化路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 34567
|
||||
@@ -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_NGINX_HTTP
|
||||
labelZh: Nginx 端口
|
||||
labelEn: Nginx port
|
||||
label:
|
||||
en: Nginx port
|
||||
zh: Nginx 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -28,6 +37,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_NGINX_HTTPS
|
||||
labelZh: Nginx SSL 端口
|
||||
labelEn: Nginx SSL port
|
||||
label:
|
||||
en: Nginx SSL port
|
||||
zh: Nginx SSL 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
Reference in New Issue
Block a user