chore: refine i18n doc punctuation

This commit is contained in:
JimMoen 2023-03-16 17:50:37 +08:00
parent d147299e23
commit afd29b69c4
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
1 changed files with 4 additions and 4 deletions

View File

@ -1079,11 +1079,11 @@ Supported configurations are the following:
zh: """共享订阅消息派发策略。
- `random`:随机挑选一个共享订阅者派发;
- `round_robin`:使用 round-robin 策略派发;
- `round_robin_per_group`: 在共享组内循环选择下一个成员;
- `local`: 选择随机的本地成员,否则选择随机的集群范围内成员;
- `round_robin_per_group`在共享组内循环选择下一个成员;
- `local`选择随机的本地成员,否则选择随机的集群范围内成员;
- `sticky`:总是使用上次选中的订阅者派发,直到它断开连接;
- `hash_clientid`:使用发送者的 Client ID 进行 Hash 来选择订阅者;
- `hash_topic`: 使用源主题进行 Hash 来选择订阅者。"""
- `hash_topic`使用源主题进行 Hash 来选择订阅者。"""
}
}
@ -1095,7 +1095,7 @@ This should allow messages to be dispatched to a different subscriber in the gro
zh: """该配置项已废弃,会在 5.1 中移除。
启用/禁用 QoS 1 和 QoS 2 消息的共享派发确认。
开启后,允许将消息从未及时回复 ACK 的订阅者 (例如,客户端离线)重新派发给另外一个订阅者。"""
开启后,允许将消息从未及时回复 ACK 的订阅者 (例如,客户端离线) 重新派发给另外一个订阅者。"""
}
}