From 2b583110b713af5a9ca7b6ea9db07972249be3f4 Mon Sep 17 00:00:00 2001 From: zenfun Date: Thu, 10 Sep 2026 12:18:55 +0800 Subject: [PATCH] fix(i18n): clarify administrator-only command permissions --- dashboard/src/i18n/locales/en-US/features/command.json | 2 +- dashboard/src/i18n/locales/ja-JP/features/command.json | 2 +- dashboard/src/i18n/locales/ru-RU/features/command.json | 2 +- dashboard/src/i18n/locales/zh-CN/features/command.json | 2 +- docs/zh/use/command.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard/src/i18n/locales/en-US/features/command.json b/dashboard/src/i18n/locales/en-US/features/command.json index 75dab219a..1feec572f 100644 --- a/dashboard/src/i18n/locales/en-US/features/command.json +++ b/dashboard/src/i18n/locales/en-US/features/command.json @@ -36,7 +36,7 @@ "groupAdmin": "Administrators Only in Group Chats", "groupAdminHint": "Everyone can use this command in private chats; only AstrBot administrators can use it in groups.", "everyone": "Everyone", - "admin": "Admin" + "admin": "Administrators Only" }, "tooltips": { "enable": "Enable command", diff --git a/dashboard/src/i18n/locales/ja-JP/features/command.json b/dashboard/src/i18n/locales/ja-JP/features/command.json index 9f0b92ec4..07fe57da2 100644 --- a/dashboard/src/i18n/locales/ja-JP/features/command.json +++ b/dashboard/src/i18n/locales/ja-JP/features/command.json @@ -36,7 +36,7 @@ "groupAdmin": "グループ内のみ管理者に制限", "groupAdminHint": "個人チャットでは全員、グループでは AstrBot 管理者のみ使用できます。", "everyone": "すべてのユーザー", - "admin": "管理者" + "admin": "管理者のみ" }, "tooltips": { "enable": "コマンドを有効にする", diff --git a/dashboard/src/i18n/locales/ru-RU/features/command.json b/dashboard/src/i18n/locales/ru-RU/features/command.json index fc3f0050f..12c9eb97d 100644 --- a/dashboard/src/i18n/locales/ru-RU/features/command.json +++ b/dashboard/src/i18n/locales/ru-RU/features/command.json @@ -36,7 +36,7 @@ "groupAdmin": "Только администраторы в группах", "groupAdminHint": "В личных чатах команда доступна всем, в группах — только администраторам AstrBot.", "everyone": "Все", - "admin": "Админ" + "admin": "Только администраторы" }, "tooltips": { "enable": "Включить", diff --git a/dashboard/src/i18n/locales/zh-CN/features/command.json b/dashboard/src/i18n/locales/zh-CN/features/command.json index 99da32da3..9da2d5433 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/command.json +++ b/dashboard/src/i18n/locales/zh-CN/features/command.json @@ -36,7 +36,7 @@ "groupAdmin": "仅群聊限管理员", "groupAdminHint": "私聊所有人可用,群聊仅 AstrBot 管理员可用。", "everyone": "所有人", - "admin": "管理员" + "admin": "仅管理员" }, "tooltips": { "enable": "启用指令", diff --git a/docs/zh/use/command.md b/docs/zh/use/command.md index 226dcedab..dc4dfefe3 100644 --- a/docs/zh/use/command.md +++ b/docs/zh/use/command.md @@ -86,7 +86,7 @@ DeerFlow 还会尝试删除旧的远端 thread;第三方路径不保证保留 - 私聊中默认普通用户可使用。 - 群聊默认需要 AstrBot 管理员权限,与是否开启会话隔离无关;管理员指配置的管理员 ID,不是自动识别的群管理员。 -- 在 WebUI「管理行为 → 指令」中,可以分别调整 `new` 和 `reset` 的权限:「所有人」「管理员」「仅群聊限管理员」。设置对所有配置文件生效,已有的显式权限设置优先于命令默认权限。 +- 在 WebUI「管理行为 → 指令」中,可以分别调整 `new` 和 `reset` 的权限:「所有人」「仅管理员」「仅群聊限管理员」。设置对所有配置文件生效,已有的显式权限设置优先于命令默认权限。 - 默认选择「仅群聊限管理员」;选择「所有人」即可允许普通群成员使用。关闭「隔离对话」时影响整个群,开启时只影响自己的对话。 - 指令的禁用、重命名仍由指令管理统一处理。