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

86 lines
2.1 KiB
YAML

additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
label:
en: Database Service
zh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: PostgreSQL
value: postgresql
- default: sscms
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
label:
en: Database
zh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: sscms
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
label:
en: User
zh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: sscms
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
label:
en: Password
zh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40221
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: 'e2a3d303-ac9b-41ff-9154-930710af0845'
edit: true
envKey: SSCMS_SECURITY_KEY
labelEn: Communication key (GUID string)
labelZh: 通信密钥 (GUID 字符串)
label:
en: Communication key (GUID string)
zh: 通信密钥 (GUID 字符串)
required: true
type: text
- default: ''
edit: true
envKey: SSCMS_REDIS_CONNECTION_STRING
labelEn: Redis Connection Information (redis:6379,password=123456)
labelZh: Redis 连接信息 (redis:6379,password=123456)
label:
en: Redis Connection Information (redis:6379,password=123456)
zh: Redis 连接信息 (redis:6379,password=123456)
required: false
type: text