1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +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

81 lines
1.8 KiB
YAML

additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
default: mysql
labelEn: Database Service
labelZh: 数据库服务
label:
en: Database Service
zh: 数据库服务
params:
- envKey: ZABBIX_DB_PORT
key: mysql
type: param
value: "3306"
required: true
type: apps
values:
- label: MySQL
value: mysql
- default: zabbix
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: zabbix
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
label:
en: User
zh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: zabbix
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
label:
en: Password
zh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 10051
edit: true
envKey: PANEL_APP_PORT_HTTP2
labelEn: Gateway port
labelZh: 网关端口
label:
en: Gateway port
zh: 网关端口
required: true
rule: paramPort
type: number
- default: 40047
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number