✨ 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: CONFIG_FILE_PATH
|
||||
labelEn: Configuration file path
|
||||
labelZh: 配置文件路径
|
||||
label:
|
||||
en: Configuration file path
|
||||
zh: 配置文件路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 7000
|
||||
@@ -12,6 +15,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
label:
|
||||
en: Port (determined by the configuration file)
|
||||
zh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
- default: ./data/ssl
|
||||
@@ -19,5 +25,8 @@ additionalProperties:
|
||||
envKey: SSL_FOLDER_PATH
|
||||
labelEn: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
labelZh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
label:
|
||||
en: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
zh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
required: true
|
||||
type: text
|
||||
|
||||
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: CONFIG_FILE_PATH
|
||||
labelEn: Configuration file path
|
||||
labelZh: 配置文件路径
|
||||
label:
|
||||
en: Configuration file path
|
||||
zh: 配置文件路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 7000
|
||||
@@ -12,6 +15,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
label:
|
||||
en: Port (determined by the configuration file)
|
||||
zh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
- default: ./data/ssl
|
||||
@@ -19,5 +25,8 @@ additionalProperties:
|
||||
envKey: SSL_FOLDER_PATH
|
||||
labelEn: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
labelZh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
label:
|
||||
en: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
zh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
required: true
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user