1
0

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:
pooneyy
2025-11-06 23:35:02 +08:00
parent 24ed5c9e9d
commit 9779122311
914 changed files with 17477 additions and 886 deletions

View File

@@ -5,6 +5,9 @@ additionalProperties:
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
label:
en: Data Path
zh: 数据路径
required: true
type: text
- default: "./data/config.toml"
@@ -12,6 +15,9 @@ additionalProperties:
envKey: CONFIG_FILE_PATH
labelEn: Configuration file path
labelZh: 配置文件路径
label:
en: Configuration file path
zh: 配置文件路径
required: true
type: text
- default: "/root/config.toml"
@@ -19,6 +25,9 @@ additionalProperties:
envKey: CONFIG_FILE_PATH_INTERNAL
labelEn: Configuration file path(inside container)
labelZh: 配置文件路径 (容器内部)
label:
en: Configuration file path(inside container)
zh: 配置文件路径 (容器内部)
required: true
type: text
- default: "Asia/Shanghai"
@@ -26,6 +35,9 @@ additionalProperties:
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
label:
en: Time Zone
zh: 时区
required: true
type: text
- default: "true"
@@ -33,6 +45,9 @@ additionalProperties:
envKey: PRIVILEGED_MODE
labelEn: Privilege mode switch
labelZh: 特权模式开关
label:
en: Privilege mode switch
zh: 特权模式开关
required: true
type: text
- default: "easytier"
@@ -40,6 +55,9 @@ additionalProperties:
envKey: HOSTNAME
labelEn: Hostname
labelZh: 主机名
label:
en: Hostname
zh: 主机名
required: true
type: text
- default: "-c /root/config.toml"
@@ -47,5 +65,8 @@ additionalProperties:
envKey: COMMAND
labelEn: Command
labelZh: 命令
label:
en: Command
zh: 命令
required: true
type: text