1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-17 23:51:03 +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

114 lines
2.5 KiB
YAML

additionalProperties:
formFields:
- default: "true"
edit: true
envKey: PRIVILEGED_MODE
labelEn: Privileged Mode
labelZh: 特权模式
label:
en: Privileged Mode
zh: 特权模式
required: true
type: select
values:
- label: "True"
value: "true"
- label: "False"
value: "false"
- default: "64mb"
edit: true
envKey: SHM_SIZE
labelEn: Shared Memory Size
labelZh: 共享内存大小
label:
en: Shared Memory Size
zh: 共享内存大小
required: true
type: text
- default: "./data/config"
edit: true
envKey: CONFIG_PATH
labelEn: Config Path
labelZh: 配置路径
label:
en: Config Path
zh: 配置路径
required: true
type: text
- default: "./data/storage"
edit: true
envKey: STORAGE_PATH
labelEn: Storage Path
labelZh: 存储路径
label:
en: Storage Path
zh: 存储路径
required: true
type: text
- default: "1000000000"
edit: true
envKey: TMPFS_SIZE
labelEn: Tmpfs Size
labelZh: Tmpfs 大小
label:
en: Tmpfs Size
zh: Tmpfs 大小
required: true
type: number
- default: "8971"
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: "8554"
edit: true
envKey: RTSP_PORT
labelEn: RTSP Port
labelZh: RTSP 端口
label:
en: RTSP Port
zh: RTSP 端口
required: true
rule: paramPort
type: number
- default: "8555"
edit: true
envKey: WEBRTC_TCP_PORT
labelEn: WebRTC TCP Port
labelZh: WebRTC TCP 端口
label:
en: WebRTC TCP Port
zh: WebRTC TCP 端口
required: true
rule: paramPort
type: number
- default: "8555"
edit: true
envKey: WEBRTC_UDP_PORT
labelEn: WebRTC UDP Port
labelZh: WebRTC UDP 端口
label:
en: WebRTC UDP Port
zh: WebRTC UDP 端口
required: true
rule: paramPort
type: number
- default: "password"
edit: true
envKey: FRIGATE_RTSP_PASSWORD
labelEn: RTSP Password
labelZh: RTSP 密码
label:
en: RTSP Password
zh: RTSP 密码
random: true
required: true
rule: paramComplexity
type: password