✨ 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: DATA_PATH
|
||||
labelEn: Data storage folder
|
||||
labelZh: 数据存放文件夹
|
||||
label:
|
||||
en: Data storage folder
|
||||
zh: 数据存放文件夹
|
||||
required: true
|
||||
type: text
|
||||
- default: "spend-money-like-water"
|
||||
@@ -20,6 +26,9 @@ additionalProperties:
|
||||
envKey: TOKEN_SALT
|
||||
labelEn: Token Salt
|
||||
labelZh: Token Salt
|
||||
label:
|
||||
en: Token Salt
|
||||
zh: Token Salt
|
||||
required: true
|
||||
type: text
|
||||
- default: "PRO"
|
||||
@@ -27,6 +36,9 @@ additionalProperties:
|
||||
envKey: ENVIRONMENT
|
||||
labelEn: Environment
|
||||
labelZh: 环境
|
||||
label:
|
||||
en: Environment
|
||||
zh: 环境
|
||||
required: true
|
||||
type: text
|
||||
- default: "08cc0348-061d-4193-af05-b6cc02df28ea"
|
||||
@@ -34,6 +46,9 @@ additionalProperties:
|
||||
envKey: SERVER_KEY
|
||||
labelEn: Server Key
|
||||
labelZh: 服务密钥
|
||||
label:
|
||||
en: Server Key
|
||||
zh: 服务密钥
|
||||
required: true
|
||||
type: text
|
||||
- default: "cashbook"
|
||||
@@ -41,6 +56,9 @@ additionalProperties:
|
||||
envKey: DEFAULT_PASSWORD
|
||||
labelEn: Default Password
|
||||
labelZh: 默认密码
|
||||
label:
|
||||
en: Default Password
|
||||
zh: 默认密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
|
||||
Reference in New Issue
Block a user