✨ 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: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP端口
|
||||
label:
|
||||
en: HTTP Port
|
||||
zh: HTTP端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,6 +16,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTPS
|
||||
labelEn: HTTPS Port
|
||||
labelZh: HTTPS端口
|
||||
label:
|
||||
en: HTTPS Port
|
||||
zh: HTTPS端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -21,6 +27,9 @@ additionalProperties:
|
||||
envKey: HTTP_USER
|
||||
labelEn: Access User
|
||||
labelZh: 访问用户
|
||||
label:
|
||||
en: Access User
|
||||
zh: 访问用户
|
||||
required: true
|
||||
type: text
|
||||
- default: Password
|
||||
@@ -28,6 +37,9 @@ additionalProperties:
|
||||
envKey: HTTP_PWD
|
||||
labelEn: Access Password
|
||||
labelZh: 访问密码
|
||||
label:
|
||||
en: Access Password
|
||||
zh: 访问密码
|
||||
random: false
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
@@ -37,6 +49,9 @@ additionalProperties:
|
||||
envKey: MEM_USE
|
||||
labelEn: Shared memory footprint (1gb)
|
||||
labelZh: 共享内存占用(1gb)
|
||||
label:
|
||||
en: Shared memory footprint (1gb)
|
||||
zh: 共享内存占用(1gb)
|
||||
required: true
|
||||
type: text
|
||||
- default: ./data
|
||||
@@ -44,5 +59,8 @@ additionalProperties:
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
label:
|
||||
en: Data folder path
|
||||
zh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP端口
|
||||
label:
|
||||
en: HTTP Port
|
||||
zh: HTTP端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,6 +16,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTPS
|
||||
labelEn: HTTPS Port
|
||||
labelZh: HTTPS端口
|
||||
label:
|
||||
en: HTTPS Port
|
||||
zh: HTTPS端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -21,6 +27,9 @@ additionalProperties:
|
||||
envKey: HTTP_USER
|
||||
labelEn: Access User
|
||||
labelZh: 访问用户
|
||||
label:
|
||||
en: Access User
|
||||
zh: 访问用户
|
||||
required: true
|
||||
type: text
|
||||
- default: Password
|
||||
@@ -28,6 +37,9 @@ additionalProperties:
|
||||
envKey: HTTP_PWD
|
||||
labelEn: Access Password
|
||||
labelZh: 访问密码
|
||||
label:
|
||||
en: Access Password
|
||||
zh: 访问密码
|
||||
random: false
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
@@ -37,6 +49,9 @@ additionalProperties:
|
||||
envKey: MEM_USE
|
||||
labelEn: Shared memory footprint (1gb)
|
||||
labelZh: 共享内存占用(1gb)
|
||||
label:
|
||||
en: Shared memory footprint (1gb)
|
||||
zh: 共享内存占用(1gb)
|
||||
required: true
|
||||
type: text
|
||||
- default: ./data
|
||||
@@ -44,5 +59,8 @@ additionalProperties:
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
label:
|
||||
en: Data folder path
|
||||
zh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user