Skip to content

Commit

Permalink
fix(exhook): make spellcheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lafirest committed Jun 27, 2022
1 parent c696f08 commit 11c2860
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions apps/emqx_exhook/i18n/emqx_exhook_i18n.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ When gRPC is not available, Exhook tries to request the gRPC service at that int
}
}

socket_options {
desc {
en: "Connection socket options"
zh: "连接套接字设置"
}
}

keepalive {
desc {
en: """Enables/disables periodic transmission on a connected socket when no other data is exchanged.
Expand All @@ -76,14 +83,14 @@ which means that also small amounts of data are sent immediately"""

recbuf {
desc {
en: "The minimum size of the receive buffer to use for the socket"
en: "The minimum size of receive buffer to use for the socket"
zh: "套接字的最小接收缓冲区大小"
}
}

sndbuf {
desc {
en: "The minimum size of the send buffer to use for the socket"
en: "The minimum size of send buffer to use for the socket"
zh: "套接字的最小发送缓冲区大小"
}
}
Expand Down
2 changes: 2 additions & 0 deletions apps/emqx_exhook/src/emqx_exhook_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ desc(server) ->
"gRPC server configuration.";
desc(ssl_conf) ->
"SSL client configuration.";
desc(socket_options) ->
?DESC(socket_options);
desc(_) ->
undefined.

Expand Down

0 comments on commit 11c2860

Please sign in to comment.