fix(slow_subs): remove redundant fields in i18n conf

This commit is contained in:
firest 2022-04-19 18:32:24 +08:00
parent a7482b2fea
commit 132298d30e
2 changed files with 34 additions and 74 deletions

View File

@ -1,92 +1,66 @@
emqx_slow_subs_api {
clear_records_api {
desc {
en: "Clear current data and re count slow topic."
zh: "清除当前记录,然后重新开始统计。"
}
label: {
en: "Clear Records"
zh: "清除记录"
en: "Clear current data and re count slow topic"
zh: "清除当前记录,然后重新开始统计"
}
}
get_records_api {
desc {
en: "Get slow topics statistics record data."
zh: "查看慢订阅的统计数据。"
}
label: {
en: "Records"
zh: "记录"
en: "View slow topics statistics record data"
zh: "查看慢订阅的统计数据"
}
}
get_setting_api {
desc {
en: "Get slow subs settings."
zh: "查看配置"
}
label: {
en: "View Settings"
en: "View slow subs settings"
zh: "查看配置"
}
}
update_setting_api {
desc {
en: "Update slow subs settings."
zh: "更新配置"
}
label: {
en: "Update Settings"
en: "Update slow subs settings"
zh: "更新配置"
}
}
clientid {
desc {
en: "Message clientid."
en: "Message clientid"
zh: "消息的客户端 ID"
}
label: {
en: "ClientID"
zh: "ClientID"
}
}
node {
desc {
en: "Message node name."
en: "Message node name"
zh: "消息的节点名称"
}
label: {
en: "Node Name"
zh: "节点名"
}
}
topic {
desc {
en: "Message topic."
zh: "消息主题"
}
label: {
en: "Topic"
zh: "主题"
en: "Message topic"
zh: "消息的主题"
}
}
timespan {
desc {
en: "Timespan for message transmission."
zh: "消息的传输耗时。"
}
label: {
en: "Timespan"
zh: "传输耗时"
en: "Timespan for message transmission"
zh: "消息的传输耗时"
}
}
last_update_time {
desc {
en: "The timestamp of last update."
zh: "记录的更新时间戳。"
}
label: {
en: "Last Update Time"
zh: "更新时间"
en: "The timestamp of last update"
zh: "记录的更新时间戳"
}
}
}

View File

@ -1,52 +1,38 @@
emqx_slow_subs_schema {
enable {
desc {
en: "Enable this feature"
zh: "开启慢订阅"
}
label: {
en: "Enable"
zh: "开启"
}
}
threshold {
desc {
en: "The latency threshold for statistics."
en: "The latency threshold for statistics"
zh: "慢订阅统计的阈值"
}
label: {
en: "Threshold"
zh: "阈值"
}
}
expire_interval {
desc {
en: "The eviction time of the record, which in the statistics record table."
en: "The eviction time of the record, which in the statistics record table"
zh: "慢订阅记录的有效时间"
}
label: {
en: "Eviction Time"
zh: "有效时间"
}
}
top_k_num {
desc {
en: "The maximum number of records in the slow subscription statistics record table."
en: "The maximum number of records in the slow subscription statistics record table"
zh: "慢订阅统计表的记录数量上限"
}
label: {
en: "Numbers"
zh: "记录数上限"
}
}
stats_type {
desc {
en: "The method to calculate the latency."
en: "The method to calculate the latency"
zh: "慢订阅的统计类型"
}
label: {
en: "Stats Type"
zh: "统计类型"
}
}
}