✨ 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
This commit is contained in:
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,6 +16,9 @@ additionalProperties:
|
||||
envKey: CONFIG_PATH
|
||||
labelEn: Config Path
|
||||
labelZh: 配置路径
|
||||
label:
|
||||
en: Config Path
|
||||
zh: 配置路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/data"
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: STASH_DATA
|
||||
labelEn: Media Data Path
|
||||
labelZh: 媒体数据路径
|
||||
label:
|
||||
en: Media Data Path
|
||||
zh: 媒体数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/metadata"
|
||||
@@ -27,6 +36,9 @@ additionalProperties:
|
||||
envKey: STASH_METADATA
|
||||
labelEn: Metadata Path
|
||||
labelZh: 元数据路径
|
||||
label:
|
||||
en: Metadata Path
|
||||
zh: 元数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/cache"
|
||||
@@ -34,6 +46,9 @@ additionalProperties:
|
||||
envKey: STASH_CACHE
|
||||
labelEn: Cache Path
|
||||
labelZh: 缓存路径
|
||||
label:
|
||||
en: Cache Path
|
||||
zh: 缓存路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/blobs"
|
||||
@@ -41,6 +56,9 @@ additionalProperties:
|
||||
envKey: STASH_BLOBS
|
||||
labelEn: Blobs Path (scene covers, images)
|
||||
labelZh: 二进制数据路径 (场景封面、图像)
|
||||
label:
|
||||
en: Blobs Path (scene covers, images)
|
||||
zh: 二进制数据路径 (场景封面、图像)
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/generated"
|
||||
@@ -48,6 +66,9 @@ additionalProperties:
|
||||
envKey: STASH_GENERATED
|
||||
labelEn: Generated Path
|
||||
labelZh: 生成内容路径
|
||||
label:
|
||||
en: Generated Path
|
||||
zh: 生成内容路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/data"
|
||||
@@ -55,6 +76,9 @@ additionalProperties:
|
||||
envKey: STASH_DATA_INTERNAL
|
||||
labelEn: Internal Media Data Path
|
||||
labelZh: 容器内部媒体数据路径
|
||||
label:
|
||||
en: Internal Media Data Path
|
||||
zh: 容器内部媒体数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/metadata"
|
||||
@@ -62,6 +86,9 @@ additionalProperties:
|
||||
envKey: STASH_METADATA_INTERNAL
|
||||
labelEn: Internal Metadata Path
|
||||
labelZh: 容器内部元数据路径
|
||||
label:
|
||||
en: Internal Metadata Path
|
||||
zh: 容器内部元数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/cache"
|
||||
@@ -69,6 +96,9 @@ additionalProperties:
|
||||
envKey: STASH_CACHE_INTERNAL
|
||||
labelEn: Internal Cache Path
|
||||
labelZh: 容器内部缓存路径
|
||||
label:
|
||||
en: Internal Cache Path
|
||||
zh: 容器内部缓存路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/blobs"
|
||||
@@ -76,6 +106,9 @@ additionalProperties:
|
||||
envKey: STASH_BLOBS_INTERNAL
|
||||
labelEn: Internal Blobs Path (scene covers, images)
|
||||
labelZh: 容器内部二进制数据路径 (场景封面、图像)
|
||||
label:
|
||||
en: Internal Blobs Path (scene covers, images)
|
||||
zh: 容器内部二进制数据路径 (场景封面、图像)
|
||||
required: true
|
||||
type: text
|
||||
- default: "/generated"
|
||||
@@ -83,5 +116,8 @@ additionalProperties:
|
||||
envKey: STASH_GENERATED_INTERNAL
|
||||
labelEn: Internal Generated Path
|
||||
labelZh: 容器内部生成内容路径
|
||||
label:
|
||||
en: Internal Generated Path
|
||||
zh: 容器内部生成内容路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
@@ -5,6 +5,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -13,6 +16,9 @@ additionalProperties:
|
||||
envKey: CONFIG_PATH
|
||||
labelEn: Config Path
|
||||
labelZh: 配置路径
|
||||
label:
|
||||
en: Config Path
|
||||
zh: 配置路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/data"
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: STASH_DATA
|
||||
labelEn: Media Data Path
|
||||
labelZh: 媒体数据路径
|
||||
label:
|
||||
en: Media Data Path
|
||||
zh: 媒体数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/metadata"
|
||||
@@ -27,6 +36,9 @@ additionalProperties:
|
||||
envKey: STASH_METADATA
|
||||
labelEn: Metadata Path
|
||||
labelZh: 元数据路径
|
||||
label:
|
||||
en: Metadata Path
|
||||
zh: 元数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/cache"
|
||||
@@ -34,6 +46,9 @@ additionalProperties:
|
||||
envKey: STASH_CACHE
|
||||
labelEn: Cache Path
|
||||
labelZh: 缓存路径
|
||||
label:
|
||||
en: Cache Path
|
||||
zh: 缓存路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/blobs"
|
||||
@@ -41,6 +56,9 @@ additionalProperties:
|
||||
envKey: STASH_BLOBS
|
||||
labelEn: Blobs Path (scene covers, images)
|
||||
labelZh: 二进制数据路径 (场景封面、图像)
|
||||
label:
|
||||
en: Blobs Path (scene covers, images)
|
||||
zh: 二进制数据路径 (场景封面、图像)
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/generated"
|
||||
@@ -48,6 +66,9 @@ additionalProperties:
|
||||
envKey: STASH_GENERATED
|
||||
labelEn: Generated Path
|
||||
labelZh: 生成内容路径
|
||||
label:
|
||||
en: Generated Path
|
||||
zh: 生成内容路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/data"
|
||||
@@ -55,6 +76,9 @@ additionalProperties:
|
||||
envKey: STASH_DATA_INTERNAL
|
||||
labelEn: Internal Media Data Path
|
||||
labelZh: 容器内部媒体数据路径
|
||||
label:
|
||||
en: Internal Media Data Path
|
||||
zh: 容器内部媒体数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/metadata"
|
||||
@@ -62,6 +86,9 @@ additionalProperties:
|
||||
envKey: STASH_METADATA_INTERNAL
|
||||
labelEn: Internal Metadata Path
|
||||
labelZh: 容器内部元数据路径
|
||||
label:
|
||||
en: Internal Metadata Path
|
||||
zh: 容器内部元数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/cache"
|
||||
@@ -69,6 +96,9 @@ additionalProperties:
|
||||
envKey: STASH_CACHE_INTERNAL
|
||||
labelEn: Internal Cache Path
|
||||
labelZh: 容器内部缓存路径
|
||||
label:
|
||||
en: Internal Cache Path
|
||||
zh: 容器内部缓存路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/blobs"
|
||||
@@ -76,6 +106,9 @@ additionalProperties:
|
||||
envKey: STASH_BLOBS_INTERNAL
|
||||
labelEn: Internal Blobs Path (scene covers, images)
|
||||
labelZh: 容器内部二进制数据路径 (场景封面、图像)
|
||||
label:
|
||||
en: Internal Blobs Path (scene covers, images)
|
||||
zh: 容器内部二进制数据路径 (场景封面、图像)
|
||||
required: true
|
||||
type: text
|
||||
- default: "/generated"
|
||||
@@ -83,5 +116,8 @@ additionalProperties:
|
||||
envKey: STASH_GENERATED_INTERNAL
|
||||
labelEn: Internal Generated Path
|
||||
labelZh: 容器内部生成内容路径
|
||||
label:
|
||||
en: Internal Generated Path
|
||||
zh: 容器内部生成内容路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user