From 8dbd080e459b2c984b628f8b6b05eebd18eb566b Mon Sep 17 00:00:00 2001 From: ieQu1 <99872536+ieQu1@users.noreply.github.com> Date: Thu, 12 May 2022 14:22:55 +0200 Subject: [PATCH] docs(persistent_session): Apply suggestions from William --- apps/emqx/i18n/emqx_schema_i18n.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/emqx/i18n/emqx_schema_i18n.conf b/apps/emqx/i18n/emqx_schema_i18n.conf index e10d5ac9b..6e4b9fda7 100644 --- a/apps/emqx/i18n/emqx_schema_i18n.conf +++ b/apps/emqx/i18n/emqx_schema_i18n.conf @@ -513,7 +513,7 @@ emqx_schema { desc { en: "Database management system used to store information about persistent sessions and messages.\n" "- `builtin`: Use the embedded database (mria)" - zh: "数据库管理系统,用于存储有关持久性会话和消息的信息\n" + zh: "用于存储持久性会话和信息的数据库管理后端\n" "- `builtin`: 使用内置的数据库(mria)" } label: { @@ -527,9 +527,9 @@ emqx_schema { en: "Save information about the persistent sessions on disc.\n" "If this option is enabled, persistent sessions will survive full restart of the cluster.\n" "Otherwise, all the data will be stored in RAM, and it will be lost when all the nodes in the cluster are stopped." - zh: "在磁盘上保存关于持久化会话的信息。" - "如果启用了这个选项,持久化会话将在集群完全重启后继续存在。" - "否则,所有的数据都将存储在内存中,当集群中的所有节点都停止时,它就会丢失。" + zh: "将持久会话数据保存在磁盘上。如果为 false 则存储在内存中。\n" + "如开启, 持久会话数据可在集群重启后恢复。\n" + "如关闭, 数据仅存储在内存中, 则在整个集群停止后丢失。" } label: { en: "Persist on disc" @@ -592,7 +592,7 @@ emqx_schema { persistent_session_builtin_session_table { desc { en: "Performance tuning options for built-in session table." - zh: "优化内置会话表的配置。" + zh: "用于内建会话表的性能调优参数" } label: { en: "Persistent session" @@ -607,14 +607,14 @@ emqx_schema { } label: { en: "Persistent session messages" - zh: "持久化会话消息" + zh: "用于内建会话管理表的性能调优参数" } } persistent_session_builtin_messages_table { desc { en: "Performance tuning options for built-in messages table." - zh: "优化内置消息表配置。" + zh: "用于内建消息表的性能调优参数" } label: { en: "Persistent messages"