فهرست منبع

docs: fix bad i18n files

Zaiming (Stone) Shi 3 سال پیش
والد
کامیت
5df667738a

+ 2 - 2
apps/emqx/i18n/emqx_schema_i18n.conf

@@ -1133,7 +1133,7 @@ This config is a map from shared subscription group name to the strategy
 name. The group name should be of format `[A-Za-z0-9]`. i.e. no
 special characters are allowed.
 """
-            cn: """设置共享订阅组为单位的分发策略。该配置是一个从组名到
+            zh: """设置共享订阅组为单位的分发策略。该配置是一个从组名到
 策略名的一个map,组名不得包含 `[A-Za-z0-9]` 之外的特殊字符。
 """
           }
@@ -1152,7 +1152,7 @@ until the subscriber disconnects.
 - `local`: send to a random local subscriber. If local
 subscriber was not found, send to a random subscriber cluster-wide
 """
-            cn: """共享订阅的分发策略名称。
+            zh: """共享订阅的分发策略名称。
 - `random`:随机选择一个组内成员;
 - `round_robin`:循环选择下一个成员;
 - `round_robin_per_group`:在共享组内循环选择下一个成员;

+ 1 - 1
apps/emqx_authn/i18n/emqx_authn_api_i18n.conf

@@ -192,7 +192,7 @@ emqx_authn_api {
   param_position {
     desc {
       en: """Position of authenticator in chain. Possible values are 'front', 'rear', 'before:{other_authenticator}', 'after:{other_authenticator}'."""
-      zn: """认证者在链中的位置。可能的值是 'front', 'rear', 'before:{other_authenticator}', 'after:{other_authenticator}'"""
+      zh: """认证者在链中的位置。可能的值是 'front', 'rear', 'before:{other_authenticator}', 'after:{other_authenticator}'"""
     }
   }
 

+ 1 - 1
apps/emqx_auto_subscribe/i18n/emqx_auto_subscribe_i18n.conf

@@ -4,7 +4,7 @@ emqx_auto_subscribe_schema {
       en: """After the device logs in successfully, the subscription is automatically completed for the device through the pre-defined subscription representation. Supports the use of placeholders."""
       zh: """设备登录成功之后,通过预设的订阅表示符,为设备自动完成订阅。支持使用占位符。"""
     }
-    lable {
+    label {
       en: """Auto Subscribe"""
       zh: """自动订阅"""
     }

+ 2 - 0
apps/emqx_modules/i18n/emqx_topic_metrics_api_i18n.conf

@@ -56,9 +56,11 @@ emqx_topic_metrics_api {
    }
 
   reset_topic_desc {
+    desc {
       en: """Topic Name. If this parameter is not present,all created topic metrics will be reset."""
       zh: """主题名称。如果此参数不存在,则所有创建的主题监控数据都将重置。"""
     }
+  }
 
   topic {
       desc {