diff --git a/apps/emqx_authn/i18n/emqx_authn_mongodb_i18n.conf b/apps/emqx_authn/i18n/emqx_authn_mongodb_i18n.conf
index 95e31be35..440e6edb1 100644
--- a/apps/emqx_authn/i18n/emqx_authn_mongodb_i18n.conf
+++ b/apps/emqx_authn/i18n/emqx_authn_mongodb_i18n.conf
@@ -34,14 +34,14 @@ emqx_authn_mongodb {
filter {
desc {
en: """
-Statement that is executed during the authentication process.
-Commands can support following wildcards:
+Conditional expression that defines the filter condition in the query.
+Filter supports the following placeholders:
- ${username}
: Will be replaced at runtime with Username
used by the client when connecting
- ${clientid}
: Will be replaced at runtime with Client ID
used by the client when connecting
"""
zh: """
-认证过程中所使用的查询命令。
-查询命令支持如下占位符:
+在查询中定义过滤条件的条件表达式。
+过滤器支持如下占位符:
- ${username}
: 将在运行时被替换为客户端连接时使用的用户名
- ${clientid}
: 将在运行时被替换为客户端连接时使用的客户端标识符
"""
diff --git a/apps/emqx_authz/i18n/emqx_authz_api_schema_i18n.conf b/apps/emqx_authz/i18n/emqx_authz_api_schema_i18n.conf
index 45dc66cf6..d5c86ba59 100644
--- a/apps/emqx_authz/i18n/emqx_authz_api_schema_i18n.conf
+++ b/apps/emqx_authz/i18n/emqx_authz_api_schema_i18n.conf
@@ -122,20 +122,21 @@ emqx_authz_api_schema {
filter {
desc {
en: """
-Statement that is executed during the authorize process.
-Commands can support following wildcards:\n
- - `${username}`: substituted with client's username\n
- - `${clientid}`: substituted with the clientid
+Conditional expression that defines the filter condition in the query.
+Filter supports the following placeholders:
+ - ${username}
: Will be replaced at runtime with Username
used by the client when connecting
+ - ${clientid}
: Will be replaced at runtime with Client ID
used by the client when connecting
"""
zh: """
-鉴权过程中所使用的查询命令。
-查询命令支持如下占位符:
-- `${username}`: 代替客户端的用户名
-- `${clientid}`: 代替客户端的客户端标识符"""
+在查询中定义过滤条件的条件表达式。
+过滤器支持如下占位符:
+- ${username}
: 将在运行时被替换为客户端连接时使用的用户名
+- ${clientid}
: 将在运行时被替换为客户端连接时使用的客户端标识符
+"""
}
label {
- en: """filter"""
- zh: """filter"""
+ en: """Filter"""
+ zh: """过滤器"""
}
}
diff --git a/apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf b/apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf
index 42777f00f..2dc89901e 100644
--- a/apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf
+++ b/apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf
@@ -269,20 +269,21 @@ and the new rules will override all rules from the old config file.
filter {
desc {
en: """
-Statement that is executed during the authorize process.
-Commands can support following wildcards:\n
- - `${username}`: substituted with client's username\n
- - `${clientid}`: substituted with the clientid
+Conditional expression that defines the filter condition in the query.
+Filter supports the following placeholders:
+ - ${username}
: Will be replaced at runtime with Username
used by the client when connecting
+ - ${clientid}
: Will be replaced at runtime with Client ID
used by the client when connecting
"""
zh: """
-鉴权过程中所使用的查询命令。
-查询命令支持如下占位符:
-- `${username}`: 代替客户端的用户名
-- `${clientid}`: 代替客户端的客户端标识符"""
+在查询中定义过滤条件的条件表达式。
+过滤器支持如下占位符:
+- ${username}
: 将在运行时被替换为客户端连接时使用的用户名
+- ${clientid}
: 将在运行时被替换为客户端连接时使用的客户端标识符
+"""
}
label {
- en: """filter"""
- zh: """filter"""
+ en: """Filter"""
+ zh: """过滤器"""
}
}