✨ 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: MEDIAWIKI_IMAGES_PATH
|
||||
labelEn: MediaWiki Images Path
|
||||
labelZh: MediaWiki 图片路径
|
||||
label:
|
||||
en: MediaWiki Images Path
|
||||
zh: MediaWiki 图片路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/data"
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: MEDIAWIKI_DATA_PATH
|
||||
labelEn: MediaWiki Data Path
|
||||
labelZh: MediaWiki 数据路径
|
||||
label:
|
||||
en: MediaWiki Data Path
|
||||
zh: MediaWiki 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/var/www/data"
|
||||
@@ -27,6 +36,9 @@ additionalProperties:
|
||||
envKey: INTERNAL_DATA_PATH
|
||||
labelEn: Internal container data paths
|
||||
labelZh: 容器内部数据路径
|
||||
label:
|
||||
en: Internal container data paths
|
||||
zh: 容器内部数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/LocalSettings.php"
|
||||
@@ -34,5 +46,8 @@ additionalProperties:
|
||||
envKey: LOCAL_SETTINGS_PATH
|
||||
labelEn: LocalSettings.php Path ([necessary] Edit compose.yml to close the mapping to regenerate the configuration file)
|
||||
labelZh: LocalSettings.php 路径 (【必要】编辑 compose.yml 关闭映射可重新生成配置文件)
|
||||
label:
|
||||
en: LocalSettings.php Path ([necessary] Edit compose.yml to close the mapping to regenerate the configuration file)
|
||||
zh: LocalSettings.php 路径 (【必要】编辑 compose.yml 关闭映射可重新生成配置文件)
|
||||
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: MEDIAWIKI_IMAGES_PATH
|
||||
labelEn: MediaWiki Images Path
|
||||
labelZh: MediaWiki 图片路径
|
||||
label:
|
||||
en: MediaWiki Images Path
|
||||
zh: MediaWiki 图片路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/data"
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: MEDIAWIKI_DATA_PATH
|
||||
labelEn: MediaWiki Data Path
|
||||
labelZh: MediaWiki 数据路径
|
||||
label:
|
||||
en: MediaWiki Data Path
|
||||
zh: MediaWiki 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "/var/www/data"
|
||||
@@ -27,6 +36,9 @@ additionalProperties:
|
||||
envKey: INTERNAL_DATA_PATH
|
||||
labelEn: Internal container data paths
|
||||
labelZh: 容器内部数据路径
|
||||
label:
|
||||
en: Internal container data paths
|
||||
zh: 容器内部数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/LocalSettings.php"
|
||||
@@ -34,5 +46,8 @@ additionalProperties:
|
||||
envKey: LOCAL_SETTINGS_PATH
|
||||
labelEn: LocalSettings.php Path ([necessary] Edit compose.yml to close the mapping to regenerate the configuration file)
|
||||
labelZh: LocalSettings.php 路径 (【必要】编辑 compose.yml 关闭映射可重新生成配置文件)
|
||||
label:
|
||||
en: LocalSettings.php Path ([necessary] Edit compose.yml to close the mapping to regenerate the configuration file)
|
||||
zh: LocalSettings.php 路径 (【必要】编辑 compose.yml 关闭映射可重新生成配置文件)
|
||||
required: true
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user