Skip to content

Commit

Permalink
fix(i18n): escape @ symbol in node description
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Feb 13, 2025
1 parent 59be24a commit 01c8e7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/i18n/lib/enIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
"For example: ${'{'}payload{'}'}, ${'{'}clientid{'}'}, ${'{'}topic{'}'} , ${'{'}username{'}'}, etc. Use fields according to the action requirements of your business and forwards the message as it is if it is empty.Supports reading data using ${'{'}field{'}'} syntax.",
static_clientids:
'Entries mapping EMQX node names to static client IDs. If any entries are defined, then only EMQX nodes matching those entries will start MQTT clients with the corresponding clientids.',
node: 'EMQX node name, e.g.: <code>emqx@10.0.0.1</code>.',
node: "EMQX node name, e.g.: <code>emqx{'@'}10.0.0.1</code>.",
ids: 'Array of static client IDs assigned to this node.',
},
http: {
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/lib/zhIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
"例如:${'{'}payload{'}'}, ${'{'}clientid{'}'}, ${'{'}topic{'}'}, ${'{'}username{'}'} 等。请根据使用动作的业务需求来选择字段,置空则原样转发消息。支持使用 ${'{'}field{'}'} 语法读取数据。",
static_clientids:
'配置 EMQX 节点与静态客户端 ID 的对应关系。当配置了映射关系后,只有在映射中指定的 EMQX 节点才会创建对应的 MQTT 客户端连接。',
node: 'EMQX 的节点名称,例如:<code>emqx@10.0.0.1</code>',
node: "EMQX 的节点名称,例如:<code>emqx{'@'}10.0.0.1</code>",
ids: '指定给该节点的静态客户端 ID 列表',
},
http: {
Expand Down

0 comments on commit 01c8e7f

Please sign in to comment.