docs: fix spelling

This commit is contained in:
Kjell Winblad 2023-03-03 10:54:47 +01:00
parent 6a87b119b0
commit c24a84e370
3 changed files with 6 additions and 9 deletions

View File

@ -21,7 +21,7 @@ will be forwarded.
desc { desc {
en: """SQL Template. The template string can contain placeholders en: """SQL Template. The template string can contain placeholders
for message metadata and payload field. The placeholders are inserted for message metadata and payload field. The placeholders are inserted
without any checking and special formatting so it is important to without any checking and special formatting, so it is important to
ensure that the inserted values are formatted and escaped correctly.""" ensure that the inserted values are formatted and escaped correctly."""
zh: zh:
"""SQL模板。模板字符串可以包含消息元数据和有效载荷字段的占位符。占位符 """SQL模板。模板字符串可以包含消息元数据和有效载荷字段的占位符。占位符
@ -41,7 +41,7 @@ ensure that the inserted values are formatted and escaped correctly."""
en: """The bridge repeats what comes after the VALUES or FORMAT FormatType in the en: """The bridge repeats what comes after the VALUES or FORMAT FormatType in the
SQL template to form a batch request. The value specified with SQL template to form a batch request. The value specified with
this parameter will be inserted between the values. The default this parameter will be inserted between the values. The default
value ',' works for the VALUES format but other values value ',' works for the VALUES format, but other values
might be needed if you specify some other format with the might be needed if you specify some other format with the
clickhouse FORMAT syntax. clickhouse FORMAT syntax.
@ -76,7 +76,7 @@ https://clickhouse.com/docs/en/interfaces/formats#formats 了解更多关于
desc_config { desc_config {
desc { desc {
en: """Configuration for an Clickhouse bridge.""" en: """Configuration for a Clickhouse bridge."""
zh: """Clickhouse 桥接配置""" zh: """Clickhouse 桥接配置"""
} }
label: { label: {

View File

@ -190,15 +190,12 @@ pgsql_structs() ->
clickhouse_structs() -> clickhouse_structs() ->
[ [
{Type, {clickhouse,
mk( mk(
hoconsc:map(name, ref(emqx_ee_bridge_clickhouse, "config")), hoconsc:map(name, ref(emqx_ee_bridge_clickhouse, "config")),
#{ #{
desc => <<Name/binary, "Clickhouse Bridge Config">>, desc => <<"Clickhouse Bridge Config">>,
required => false required => false
} }
)} )}
|| {Type, Name} <- [
{clickhouse, <<"Clickhouse">>}
]
]. ].

View File

@ -267,5 +267,5 @@ keytab
jq jq
nif nif
TDengine TDengine
Clickhouse
clickhouse clickhouse
FormatType