Zhongwen Deng 3 роки тому
батько
коміт
3de0d71d00

+ 4 - 2
apps/emqx_authz/i18n/emqx_authz_api_cache_i18n.conf

@@ -1,6 +1,8 @@
 emqx_authz_api_cache {
   authorization_cache_delete {
-    en: """Clean all authorization cache in the cluster."""
-    zh: """清除集群中所有鉴权数据缓存"""
+    desc {
+      en: """Clean all authorization cache in the cluster."""
+      zh: """清除集群中所有鉴权数据缓存"""
+    }
   }
 }

+ 8 - 4
apps/emqx_authz/i18n/emqx_authz_api_settings_i18n.conf

@@ -1,11 +1,15 @@
 emqx_authz_api_settings {
   authorization_settings_get {
-    en: """Get authorization settings"""
-    zh: """获取鉴权配置"""
+    desc {
+      en: """Get authorization settings"""
+      zh: """获取鉴权配置"""
+    }
   }
 
   authorization_settings_put {
-    en: """Update authorization settings"""
-    zh: """更新鉴权配置"""
+    desc {
+      en: """Update authorization settings"""
+      zh: """更新鉴权配置"""
+    }
   }
 }