✨ 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: BING_MAP_API_KEY
|
||||
labelEn: Bing Map API Key
|
||||
labelZh: Bing 地图 API Key
|
||||
label:
|
||||
en: Bing Map API Key
|
||||
zh: Bing 地图 API Key
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: IPINFO_API_TOKEN
|
||||
labelEn: IPInfo.io API
|
||||
labelZh: IPinfo.io 的 API
|
||||
label:
|
||||
en: IPInfo.io API
|
||||
zh: IPinfo.io 的 API
|
||||
required: false
|
||||
type: text
|
||||
- default: "example.com"
|
||||
@@ -27,5 +36,8 @@ additionalProperties:
|
||||
envKey: ALLOWED_DOMAINS
|
||||
labelEn: Allowed domains
|
||||
labelZh: 允许的域名
|
||||
label:
|
||||
en: Allowed domains
|
||||
zh: 允许的域名
|
||||
required: false
|
||||
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: BING_MAP_API_KEY
|
||||
labelEn: Bing Map API Key
|
||||
labelZh: Bing 地图 API Key
|
||||
label:
|
||||
en: Bing Map API Key
|
||||
zh: Bing 地图 API Key
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: IPINFO_API_TOKEN
|
||||
labelEn: IPInfo.io API
|
||||
labelZh: IPinfo.io 的 API
|
||||
label:
|
||||
en: IPInfo.io API
|
||||
zh: IPinfo.io 的 API
|
||||
required: false
|
||||
type: text
|
||||
- default: "example.com"
|
||||
@@ -27,5 +36,8 @@ additionalProperties:
|
||||
envKey: ALLOWED_DOMAINS
|
||||
labelEn: Allowed domains
|
||||
labelZh: 允许的域名
|
||||
label:
|
||||
en: Allowed domains
|
||||
zh: 允许的域名
|
||||
required: false
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user