docs: add missing i18n trans and make spellcheck happy

This commit is contained in:
JimMoen 2022-04-27 11:00:22 +08:00
parent a9c6f93b48
commit a75f42d629
3 changed files with 13 additions and 6 deletions

View File

@ -122,7 +122,7 @@ emqx_authn_jwt {
server_name_indication {
desc {
en: """Server Name Indication (SNI), ."""
en: """Server Name Indication (SNI)."""
zh: """服务器名称指示SNI未指定时将使用 <code>endpoint</code> 作为 SNI。"""
}
label {

View File

@ -22,8 +22,8 @@ emqx_authn_redis {
cmd {
desc {
en: """The Redis Command used to query data for authentication such as password hash, currently only supports HGET and HMGET."""
zh: """用于查询密码散列等用于认证的数据的 Redis Command目前仅支持 HGET 与 HMGET。"""
en: """The Redis Command used to query data for authentication such as password hash, currently only supports <code>HGET</code> and <code>HMGET</code>."""
zh: """用于查询密码散列等用于认证的数据的 Redis Command目前仅支持 <code>HGET</code><code>HMGET</code>。"""
}
label: {
en: """Command"""

View File

@ -94,15 +94,22 @@ It is NOT allowed to configure two or more sources of the same type.
path {
desc {
en: """
Path to the file which contains the ACL rules.</br>
Path to the file which contains the ACL rules.
If the file provisioned before starting EMQX node,
it can be placed anywhere as long as EMQX has read access to it.
In case the rule-set is created from EMQX dashboard or management API,
In case the rule-set is created from EMQX Dashboard or management API,
the file will be placed in `authz` subdirectory inside EMQX's `data_dir`,
and the new rules will override all rules from the old config file.
"""
zh: """"""
zh: """
包含 ACL 规则的文件路径。
如果在启动 EMQX 节点前预先配置该路径,
那么可以将该文件置于任何 EMQX 可以访问到的位置。
如果从 EMQX Dashboard 或 management API 创建规则集,
那么文件将会自动生成在 `authz` 目录下,该目录位于 EMQX 的 `data_dir` 子目录下,
并且之后新的规则集将会覆写旧文件。"""
}
label {
en: """path"""