Просмотр исходного кода

docs: improve descriptions

Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
Thales Macedo Garitezi 2 лет назад
Родитель
Сommit
ca820dfefc
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf

+ 5 - 5
lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf

@@ -636,14 +636,14 @@ emqx_ee_bridge_kafka {
                 "<code>none</code> Uses the key from the Kafka message unchanged."
                 "  Note: in this case, then the key must be a valid UTF-8 string.\n"
                 "<code>base64</code> Uses base-64 encoding on the received key."
-            zh: "定义了在通过MQTT转发之前如何处理Kafka消息的键或值。"
-                "<code>none</code> 使用Kafka消息中的键或值,不改变。"
+            zh: "定义了在通过MQTT转发之前如何处理Kafka消息的 Key。"
+                "<code>none</code> 使用Kafka消息中的 Key 原始值,不进行编码。”
                 "  注意:在这种情况下,那么键或值必须是一个有效的UTF-8字符串。\n"
                 "<code>base64</code> 对收到的密钥或值使用base-64编码。"
         }
         label {
             en: "Key Encoding Mode"
-            zh: "编码模式"
+            zh: "Key 编码模式"
         }
     }
     consumer_value_encoding_mode {
@@ -653,8 +653,8 @@ emqx_ee_bridge_kafka {
                 "<code>none</code> Uses the value from the Kafka message unchanged."
                 "  Note: in this case, then the value must be a valid UTF-8 string.\n"
                 "<code>base64</code> Uses base-64 encoding on the received value."
-            zh: "定义了在通过MQTT转发之前如何处理Kafka消息的键或值。"
-                "<code>none</code> 使用Kafka消息中的键或值,不改变。"
+            zh: "定义了在通过MQTT转发之前如何处理Kafka消息的 Value。"
+                "<code>none</code> 使用Kafka消息中的 Value 原始值,不进行编码。"
                 "  注意:在这种情况下,那么键或值必须是一个有效的UTF-8字符串。\n"
                 "<code>base64</code> 对收到的密钥或值使用base-64编码。"
         }