mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 05:41:03 +08:00
- 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
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
additionalProperties:
|
|
formFields:
|
|
- default: 7200
|
|
edit: true
|
|
envKey: PANEL_APP_PORT_HTTP
|
|
labelEn: Web Panel Port
|
|
labelZh: 面板端口
|
|
label:
|
|
en: Web Panel Port
|
|
zh: 面板端口
|
|
required: true
|
|
rule: paramPort
|
|
type: number
|
|
- default: "true"
|
|
edit: true
|
|
envKey: CLOSE_ADMIN_PATH
|
|
labelEn: Close Admin Path
|
|
labelZh: 关闭管理路径
|
|
label:
|
|
en: Close Admin Path
|
|
zh: 关闭管理路径
|
|
required: true
|
|
type: select
|
|
values:
|
|
- label: "true"
|
|
value: "true"
|
|
- label: "false"
|
|
value: "false"
|
|
- default: "ddsrem"
|
|
edit: true
|
|
envKey: USERNAME
|
|
labelEn: Username
|
|
labelZh: 用户名
|
|
label:
|
|
en: Username
|
|
zh: 用户名
|
|
random: true
|
|
required: true
|
|
type: text
|
|
- default: "password"
|
|
edit: true
|
|
envKey: PASSWORD
|
|
labelEn: Password
|
|
labelZh: 密码
|
|
label:
|
|
en: Password
|
|
zh: 密码
|
|
random: true
|
|
required: true
|
|
rule: paramComplexity
|
|
type: password
|