✨ 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: DIFY_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
label:
|
||||
en: Data persistence path
|
||||
zh: 数据持久化路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 8080
|
||||
@@ -12,6 +15,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 网站端口
|
||||
labelEn: WebUI port
|
||||
label:
|
||||
en: WebUI port
|
||||
zh: 网站端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: PANEL_APP_PORT_HTTPS
|
||||
labelZh: HTTPS 端口
|
||||
labelEn: HTTPS port
|
||||
label:
|
||||
en: HTTPS port
|
||||
zh: HTTPS 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -28,6 +37,9 @@ additionalProperties:
|
||||
envKey: EXPOSE_DB_PORT
|
||||
labelZh: 数据库端口
|
||||
labelEn: Database port
|
||||
label:
|
||||
en: Database port
|
||||
zh: 数据库端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -36,6 +48,9 @@ additionalProperties:
|
||||
envKey: EXPOSE_PLUGIN_DEBUGGING_PORT
|
||||
labelZh: 插件调试端口
|
||||
labelEn: Plugin debugging port
|
||||
label:
|
||||
en: Plugin debugging port
|
||||
zh: 插件调试端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -45,6 +60,9 @@ additionalProperties:
|
||||
envKey: MILVUS_STANDALONE_API_PORT
|
||||
labelZh: Milvus 接口端口
|
||||
labelEn: Milvus API port
|
||||
label:
|
||||
en: Milvus API port
|
||||
zh: Milvus 接口端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -53,6 +71,9 @@ additionalProperties:
|
||||
envKey: MILVUS_STANDALONE_SERVER_PORT
|
||||
labelZh: Milvus 服务端口
|
||||
labelEn: Milvus server port
|
||||
label:
|
||||
en: Milvus server port
|
||||
zh: Milvus 服务端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -61,6 +82,9 @@ additionalProperties:
|
||||
envKey: MYSCALE_PORT
|
||||
labelZh: MyScale 端口
|
||||
labelEn: MyScale port
|
||||
label:
|
||||
en: MyScale port
|
||||
zh: MyScale 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -69,6 +93,9 @@ additionalProperties:
|
||||
envKey: ELASTICSEARCH_PORT
|
||||
labelZh: Elasticsearch 端口
|
||||
labelEn: Elasticsearch port
|
||||
label:
|
||||
en: Elasticsearch port
|
||||
zh: Elasticsearch 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -77,6 +104,9 @@ additionalProperties:
|
||||
envKey: KIBANA_PORT
|
||||
labelZh: Kibana 端口
|
||||
labelEn: Kibana port
|
||||
label:
|
||||
en: Kibana port
|
||||
zh: Kibana 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
Reference in New Issue
Block a user