1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-25 05:59:40 +08:00
pooneyy 9779122311
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
2025-11-06 23:35:02 +08:00

41 lines
893 B
YAML

additionalProperties:
formFields:
- default: ":0.0"
edit: true
envKey: DISPLAY
labelEn: Display
labelZh: 显示
label:
en: Display
zh: 显示
required: true
type: text
- default: "40287"
edit: true
envKey: PANEL_APP_PORT_SSH
labelEn: SSH Port
labelZh: SSH 端口
label:
en: SSH Port
zh: SSH 端口
required: true
rule: paramPort
type: number
- default: "unless-stopped"
edit: true
envKey: RESTART_POLICY
labelEn: Restart Policy
labelZh: 重启策略
label:
en: Restart Policy
zh: 重启策略
required: true
type: select
values:
- label: "Always"
value: "always"
- label: "Unless-stopped"
value: "unless-stopped"
- label: "No"
value: "no"