✨ 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: DISPLAY
|
||||
labelEn: Display
|
||||
labelZh: 显示
|
||||
label:
|
||||
en: Display
|
||||
zh: 显示
|
||||
required: true
|
||||
type: text
|
||||
- default: "40287"
|
||||
@@ -12,6 +15,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_SSH
|
||||
labelEn: SSH Port
|
||||
labelZh: SSH 端口
|
||||
label:
|
||||
en: SSH Port
|
||||
zh: SSH 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: RESTART_POLICY
|
||||
labelEn: Restart Policy
|
||||
labelZh: 重启策略
|
||||
label:
|
||||
en: Restart Policy
|
||||
zh: 重启策略
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
|
||||
Reference in New Issue
Block a user