1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-25 01:09: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

70 lines
1.4 KiB
YAML

additionalProperties:
formFields:
- default: "40270"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: "false"
edit: true
envKey: KEY
labelEn: API Key
labelZh: API 密钥
label:
en: API Key
zh: API 密钥
required: true
type: text
- default: ""
edit: true
envKey: USERNAME
labelEn: Username
labelZh: 用户名
label:
en: Username
zh: 用户名
required: false
type: text
- default: ""
edit: true
envKey: PASSWORD
labelEn: Password
labelZh: 密码
label:
en: Password
zh: 密码
required: false
rule: paramComplexity
type: password
- default: "true"
edit: true
envKey: WEB
labelEn: Web Interface
labelZh: Web 界面
label:
en: Web Interface
zh: Web 界面
required: true
type: select
values:
- label: "True"
value: "true"
- label: "False"
value: "false"
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
label:
en: Time Zone
zh: 时区
required: true
type: text