Skip to content

fix(i18n): update platform callback path translation#9201

Open
th-dd wants to merge 1 commit into
AstrBotDevs:masterfrom
th-dd:fix/i18n-platform-path
Open

fix(i18n): update platform callback path translation#9201
th-dd wants to merge 1 commit into
AstrBotDevs:masterfrom
th-dd:fix/i18n-platform-path

Conversation

@th-dd

@th-dd th-dd commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Modifications / 改动点

修改了关于回调地址的描述(新版 AstrBot 改了设置入口)

原来:
image
image
image

现在:
image
image
image

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果


Checklist / 检查清单

  • 😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
    / 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。

  • 👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
    / 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”

  • 🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
    / 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到 requirements.txtpyproject.toml 文件相应位置。

  • 😮 My changes do not introduce malicious code.
    / 我的更改没有引入恶意代码。

Summary by Sourcery

Enhancements:

  • Refresh platform callback path translations across English, Russian, and Chinese locales to match the updated UI terminology.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. area:webui The bug / feature is about webui(dashboard) of astrbot. labels Jul 10, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the webhook callback description across English, Russian, and Chinese localization files to point users to the correct settings path ("Settings -> General") and clarify network accessibility requirements. The reviewer suggested a grammatical improvement for the English translation to make the phrasing regarding public network access more natural and clear.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

"webhookDialog": {
"title": "Webhook Callback URL",
"description": "The callback address is as follows, please ensure that the network environment can be accessed. You can also view the callback address information in the logs.",
"description": "The callback address is as follows, please ensure that the network environment can be publicly accessible. You can also view the callback address information in the logs. It is recommended to fill in the \"Externally Accessible Callback API Address\" in Settings -> General.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The phrase "please ensure that the network environment can be publicly accessible" is grammatically awkward. A network environment itself is not "publicly accessible"; rather, it allows public access, or the callback address is publicly accessible.

Consider refining this to "please ensure that your network environment allows public access" or "please ensure that the callback address is publicly accessible" for better clarity and natural English phrasing.

Suggested change
"description": "The callback address is as follows, please ensure that the network environment can be publicly accessible. You can also view the callback address information in the logs. It is recommended to fill in the \"Externally Accessible Callback API Address\" in Settings -> General.",
"description": "The callback address is as follows. Please ensure that your network environment allows public access. You can also view the callback address information in the logs. It is recommended to fill in the \"Externally Accessible Callback API Address\" in Settings -> General.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant