[doc] add japanese i18n in app-modbus.yml (#3580)

Co-authored-by: tomsun28 <tomsun28@outlook.com>
This commit is contained in:
Calvin
2025-07-19 00:44:03 +08:00
committed by GitHub
co-authored by tomsun28
parent 08cac3c6cc
commit d569721e01
@@ -21,11 +21,13 @@ app: modbus
name:
zh-CN: ModBus服务器
en-US: ModBus Server
ja-JP: ModBusサーバー
# The description and help of this monitoring type
help:
zh-CN: HertzBeat对支持Modbus协议的服务进行(保持寄存器和线圈)相关指标进行采集
en-US: HertzBeat collects metrics related to maintaining registers and coils for services that support Modbus protocol
zh-TW: HertzBeat對支持Modbus協定的服務進行(保持寄存器和線圈)相關名額進行採集
ja-JP: HertzBeatはModbusプロトコルをサポートするサービスのメトリクスを監視します。
# Input params define for monitoring(render web ui by the definition)
params:
# field-param field key
@@ -34,6 +36,7 @@ params:
name:
zh-CN: ModBus服务Host
en-US: ModBus Server Host
ja-JP: ModBusサーバーのホスト
# type-param field type(most mapping the html input type)
type: host
# required-true or false
@@ -44,6 +47,7 @@ params:
name:
zh-CN: 端口
en-US: Port
ja-JP: ポート
# type-param field type(most mapping the html input type)
type: number
# when type is number, range is required
@@ -57,6 +61,7 @@ params:
name:
zh-CN: slaveId
en-US: slaveId
ja-JP: slaveId
# type-param field type(most mapping the html input type)
type: text
# required-true or false
@@ -66,6 +71,7 @@ params:
name:
zh-CN: 请求超时时间(ms)
en-US: Request Timeout(ms)
ja-JP: リクエストタイムアウト(ms)
type: number
# when type is number, range is required
range: '[400,200000]'
@@ -77,27 +83,25 @@ params:
name:
zh-CN: 保持寄存器地址
en-US: Holding Registers address
ja-JP: Holdingレジスタのアドレス
# type-param field type(most mapping the html input type)
type: array
# param field input placeholder
placeholder: 'Input RegisterAddress'
# required-true or false
required: true
# hide param-true or false
# hide: true
- field: coilRegisterAddresses
# name-param field display i18n name
name:
zh-CN: 线圈寄存器地址
en-US: Coil Register address
ja-JP: コイルレジスタのアドレス
# type-param field type(most mapping the html input type)
type: array
# param field input placeholder
placeholder: 'Input RegisterAddress'
# required-true or false
required: true
# hide param-true or false
# hide: true
# collect metrics config list
metrics:
@@ -106,6 +110,7 @@ metrics:
i18n:
zh-CN: 保持寄存器 统计信息
en-US: holding-register stats
ja-JP: Holdingレジスタの統計情報
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 0
@@ -117,38 +122,40 @@ metrics:
i18n:
zh-CN: 响应时间
en-US: Response Time
ja-JP: 応答時間
# field-metric name, type-metric type(0-number,1-string), unit-metric unit('%','ms','MB'), label-whether it is a metrics label field
- field: address-0
type: 0
i18n:
zh-CN: address-0
en-US: address-0
ja-JP: address-0
# field-metric name, type-metric type(0-number,1-string), unit-metric unit('%','ms','MB'), label-whether it is a metrics label field
- field: address-1-0
type: 0
i18n:
zh-CN: address-1-0
en-US: address-1-0
ja-JP: address-1-0
- field: address-1-1
type: 0
i18n:
zh-CN: address-1-1
en-US: address-1-1
ja-JP: address-1-1
- field: address-1-2
type: 0
i18n:
zh-CN: address-1-2
en-US: address-1-2
# 指标别名列表,按照寄存器地址来进行命名的
# 例如 地址为下标为0 ,值为m holding-register:0
# 地址为下标为1,值为m[2] holding-register:1-0 holding-register:1-1
ja-JP: address-1-2
aliasFields:
- responseTime
- holding-register:0
- holding-register:1-0
- holding-register:1-1
- holding-register:1-2
# mapping and conversion expressions, use thesand aliasField above to calculate metrics value# (可选)指标映射转换计算表达式,与上面的别名一起作用,计算出最终需要的指标值# eg: cores=core1+core2, usage=usage, waitTimeallTime-runningTime
# mapping and conversion expressions, use the same aliasField above to calculate metrics value# eg: cores=core1+core2, usage=usage, waitTimeallTime-runningTime
calculates:
- responseTime=responseTime
- address-0=holding-register:0
@@ -173,6 +180,7 @@ metrics:
i18n:
zh-CN: 线圈 统计信息
en-US: coil stats
ja-JP: コイルの統計情報
# metrics scheduling priority(0->127)->(high->low), metrics with the same priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled first, only availability metrics collect success will the scheduling continue
priority: 1
@@ -184,38 +192,40 @@ metrics:
i18n:
zh-CN: 响应时间
en-US: Response Time
ja-JP: 応答時間
# field-metric name, type-metric type(0-number,1-string), unit-metric unit('%','ms','MB'), label-whether it is a metrics label field
- field: address-0
type: 0
i18n:
zh-CN: address-0
en-US: address-0
ja-JP: address-0
# field-metric name, type-metric type(0-number,1-string), unit-metric unit('%','ms','MB'), label-whether it is a metrics label field
- field: address-1-0
type: 0
i18n:
zh-CN: address-1-0
en-US: address-1-0
ja-JP: address-1-0
- field: address-1-1
type: 0
i18n:
zh-CN: address-1-1
en-US: address-1-1
ja-JP: address-1-1
- field: address-1-2
type: 0
i18n:
zh-CN: address-1-2
en-US: address-1-2
# 指标别名列表,按照寄存器地址来进行命名的
# 例如 地址为下标为0 ,值为m coil:0
# 地址为下标为1,值为m[2] coil:1-0 coil:1-1
ja-JP: address-1-2
aliasFields:
- responseTime
- coil:0
- coil:1-0
- coil:1-1
- coil:1-2
# mapping and conversion expressions, use thesand aliasField above to calculate metrics value# (可选)指标映射转换计算表达式,与上面的别名一起作用,计算出最终需要的指标值# eg: cores=core1+core2, usage=usage, waitTimeallTime-runningTime
# mapping and conversion expressions, use the same aliasField above to calculate metrics value# eg: cores=core1+core2, usage=usage, waitTimeallTime-runningTime
calculates:
- responseTime=responseTime
- address-0=coil:0