diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index e3658bd813..df9ae8f6eb 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -3207,9 +3207,9 @@ def get_local_permission_defaults(system: str | None = None) -> dict: "type": "string", }, "disable_metrics": { - "description": "禁用匿名使用统计", + "description": "禁用用户体验改进计划", "type": "bool", - "hint": "禁用后,AstrBot 将不再上传匿名使用统计数据。", + "hint": "开启后,AstrBot 将不再上传用户体验改进计划所需的匿名使用数据。", }, "log_level": { "type": "string", @@ -4830,6 +4830,11 @@ def get_local_permission_defaults(system: str | None = None) -> dict: "type": "list", "items": {"type": "string"}, }, + "disable_metrics": { + "description": "禁用用户体验改进计划", + "type": "bool", + "hint": "开启后,AstrBot 将不再上传用户体验改进计划所需的匿名使用数据。", + }, }, }, }, diff --git a/dashboard/src/i18n/locales/en-US/features/config-metadata.json b/dashboard/src/i18n/locales/en-US/features/config-metadata.json index c8c2c5a32a..c4c0d0f468 100644 --- a/dashboard/src/i18n/locales/en-US/features/config-metadata.json +++ b/dashboard/src/i18n/locales/en-US/features/config-metadata.json @@ -1257,8 +1257,8 @@ "hint": "External services may access AstrBot's backend through callback links generated by AstrBot (such as file download links). Since AstrBot cannot automatically determine the externally accessible host address in the deployment environment, this configuration item is needed to explicitly specify how external services should access AstrBot's address. Examples: [http://localhost:6185](http://localhost:6185), [https://example.com](https://example.com), etc." }, "disable_metrics": { - "description": "Disable Anonymous Usage Statistics", - "hint": "When disabled, AstrBot will not upload anonymous usage statistics." + "description": "Disable User Experience Improvement Program", + "hint": "When enabled, AstrBot stops uploading the anonymous usage data used by the User Experience Improvement Program." }, "dashboard": { "trust_proxy_headers": { diff --git a/dashboard/src/i18n/locales/en-US/features/settings.json b/dashboard/src/i18n/locales/en-US/features/settings.json index 5c1d821ef9..593894c85a 100644 --- a/dashboard/src/i18n/locales/en-US/features/settings.json +++ b/dashboard/src/i18n/locales/en-US/features/settings.json @@ -65,6 +65,10 @@ "t2iRendering": { "title": "Text-to-Image", "subtitle": "Rendering strategy, endpoint, and custom templates for text-to-image." + }, + "telemetry": { + "title": "User Experience Improvement Program", + "subtitle": "When enabled, anonymous usage data is collected to help improve AstrBot." } }, "timePreview": { diff --git a/dashboard/src/i18n/locales/ja-JP/features/config-metadata.json b/dashboard/src/i18n/locales/ja-JP/features/config-metadata.json index dcfe0b2aaa..91657ab8ba 100644 --- a/dashboard/src/i18n/locales/ja-JP/features/config-metadata.json +++ b/dashboard/src/i18n/locales/ja-JP/features/config-metadata.json @@ -1354,8 +1354,8 @@ "hint": "外部サービスは、AstrBot が生成したコールバックリンク(ファイルダウンロードリンクなど)を通じて AstrBot バックエンドへアクセスする場合があります。AstrBot はデプロイ環境で外部から到達可能なホストアドレス(ホスト)を自動判定できないため、この設定で外部サービスから AstrBot へアクセスするアドレスを明示的に指定します。例: [http://localhost:6185](http://localhost:6185)、[https://example.com](https://example.com)。" }, "disable_metrics": { - "description": "匿名利用統計を無効化", - "hint": "この設定を有効にすると、AstrBot は匿名の利用統計データをアップロードしません。" + "description": "ユーザー体験改善プログラムを無効化", + "hint": "有効にすると、AstrBot はユーザー体験改善プログラムで使用する匿名の利用データを送信しなくなります。" }, "dashboard": { "trust_proxy_headers": { diff --git a/dashboard/src/i18n/locales/ja-JP/features/settings.json b/dashboard/src/i18n/locales/ja-JP/features/settings.json index 19ac7f7dd2..044d6a5a45 100644 --- a/dashboard/src/i18n/locales/ja-JP/features/settings.json +++ b/dashboard/src/i18n/locales/ja-JP/features/settings.json @@ -65,6 +65,10 @@ "t2iRendering": { "title": "長文の画像化", "subtitle": "長文を画像としてレンダリングする際の方式、エンドポイント、カスタムテンプレート。" + }, + "telemetry": { + "title": "ユーザー体験改善プログラム", + "subtitle": "有効にすると、AstrBot の改善のため匿名の利用データを収集します。" } }, "timePreview": { diff --git a/dashboard/src/i18n/locales/ru-RU/features/config-metadata.json b/dashboard/src/i18n/locales/ru-RU/features/config-metadata.json index 5fa0437006..71ef984b75 100644 --- a/dashboard/src/i18n/locales/ru-RU/features/config-metadata.json +++ b/dashboard/src/i18n/locales/ru-RU/features/config-metadata.json @@ -1410,8 +1410,8 @@ "hint": "Используется для сервисов, требующих обратных выливов (например, в песочнице)." }, "disable_metrics": { - "description": "Отключить анонимную статистику", - "hint": "После отключения AstrBot не будет отправлять анонимные данные об использовании." + "description": "Отключить программу улучшения пользовательского опыта", + "hint": "После включения AstrBot перестанет отправлять анонимные данные об использовании, собираемые в рамках программы улучшения пользовательского опыта." }, "dashboard": { "trust_proxy_headers": { diff --git a/dashboard/src/i18n/locales/ru-RU/features/settings.json b/dashboard/src/i18n/locales/ru-RU/features/settings.json index 3a89471ea8..772f8da039 100644 --- a/dashboard/src/i18n/locales/ru-RU/features/settings.json +++ b/dashboard/src/i18n/locales/ru-RU/features/settings.json @@ -65,6 +65,10 @@ "t2iRendering": { "title": "Текст в изображение", "subtitle": "Стратегия, endpoint и пользовательские шаблоны для рендеринга." + }, + "telemetry": { + "title": "Программа улучшения пользовательского опыта", + "subtitle": "При включении собираются анонимные данные об использовании для улучшения AstrBot." } }, "timePreview": { diff --git a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json index f67377bf35..79a81b4b18 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +++ b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json @@ -1278,8 +1278,8 @@ "hint": "外部服务可能会通过 AstrBot 生成的回调链接(如文件下载链接)访问 AstrBot 后端。由于 AstrBot 无法自动判断部署环境中对外可达的主机地址(host),因此需要通过此配置项显式指定外部服务如何访问 AstrBot 的地址。如 [http://localhost:6185](http://localhost:6185),[https://example.com](https://example.com) 等。" }, "disable_metrics": { - "description": "禁用匿名使用统计", - "hint": "禁用后,AstrBot 将不再上传匿名使用统计数据。" + "description": "禁用用户体验改进计划", + "hint": "开启后,AstrBot 将不再上传用户体验改进计划所需的匿名使用数据。" }, "dashboard": { "trust_proxy_headers": { diff --git a/dashboard/src/i18n/locales/zh-CN/features/settings.json b/dashboard/src/i18n/locales/zh-CN/features/settings.json index fceb9e25a1..3eaa96b233 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/settings.json +++ b/dashboard/src/i18n/locales/zh-CN/features/settings.json @@ -65,6 +65,10 @@ "t2iRendering": { "title": "文本转图像", "subtitle": "文本转图像渲染策略、端点和自定义模板。" + }, + "telemetry": { + "title": "用户体验改进计划", + "subtitle": "启用后将上报匿名使用数据,用于改进 AstrBot。" } }, "timePreview": { diff --git a/dashboard/src/views/Settings.vue b/dashboard/src/views/Settings.vue index a4038cc615..4b2da03e79 100644 --- a/dashboard/src/views/Settings.vue +++ b/dashboard/src/views/Settings.vue @@ -65,7 +65,10 @@ @focusout.capture="scheduleSystemConfigAutoSave" >