From 745a2b574e5974906545d500c930f16671d9048d Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 23 Oct 2026 10:04:54 +0800 Subject: [PATCH] feat: update bot_id error message to include agent name --- apps/locales/en_US/LC_MESSAGES/django.po | 5 +++++ apps/locales/zh_CN/LC_MESSAGES/django.po | 5 +++++ apps/locales/zh_Hant/LC_MESSAGES/django.po | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/apps/locales/en_US/LC_MESSAGES/django.po b/apps/locales/en_US/LC_MESSAGES/django.po index 199222acdc0..b7d810356a1 100644 --- a/apps/locales/en_US/LC_MESSAGES/django.po +++ b/apps/locales/en_US/LC_MESSAGES/django.po @@ -7925,6 +7925,11 @@ msgstr "" "This bot_id is already bound to another application ({app}). " "Each bot_id can only correspond to one application." +#: apps/xpack/serializers/platform_serializer.py:168 +#, python-brace-format +msgid "This Bot ID is already in use by the agent named \"{name}\"." +msgstr "This Bot ID is already in use by the agent named \"{name}\"." + #: apps/xpack/serializers/channel/aibot/bot_manager.py:126 msgid "Hello! I am an AI assistant. How can I help you?" msgstr "Hello! I am an AI assistant. How can I help you?" diff --git a/apps/locales/zh_CN/LC_MESSAGES/django.po b/apps/locales/zh_CN/LC_MESSAGES/django.po index e5298f4d677..b5c8fb54e80 100644 --- a/apps/locales/zh_CN/LC_MESSAGES/django.po +++ b/apps/locales/zh_CN/LC_MESSAGES/django.po @@ -8047,6 +8047,11 @@ msgstr "" "该 bot_id 已绑定到另一个应用 ({app})," "每个 bot_id 只能对应一个应用。" +#: apps/xpack/serializers/platform_serializer.py:168 +#, python-brace-format +msgid "This Bot ID is already in use by the agent named \"{name}\"." +msgstr "该 Bot ID 已被智能体「{name}」使用。" + #: apps/xpack/serializers/channel/aibot/bot_manager.py:126 msgid "Hello! I am an AI assistant. How can I help you?" msgstr "您好!我是智能助手,有什么可以帮您的吗?" diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index dd735a6bbde..a5444ff2883 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -8047,6 +8047,11 @@ msgstr "" "該 bot_id 已綁定到另一個應用 ({app})," "每個 bot_id 只能對應一個應用。" +#: apps/xpack/serializers/platform_serializer.py:168 +#, python-brace-format +msgid "This Bot ID is already in use by the agent named \"{name}\"." +msgstr "該 Bot ID 已被智能體「{name}」使用。" + #: apps/xpack/serializers/channel/aibot/bot_manager.py:126 msgid "Hello! I am an AI assistant. How can I help you?" msgstr "您好!我是智能助手,有什麼可以幫您的嗎?"