Repository navigation
fix(web-admin): translate login_succeeded / login_failed event badges - #30
Merged
Merged
Conversation
EVENT_BADGES 决定派发日志筛选与插件列表徽标的中文标签。tg-notify v1.4.0 (PR #10) 在 subscribes 里新增 login_succeeded / login_failed, 但这张表没跟上,所以面板列表与日志筛选都回退到英文原文,且这两类 派发在日志筛选框里默认不被勾选、操作员看不到。 按现有配色补两行: - login_succeeded: 登录成功 (emerald, 同 agent_online) - login_failed: 登录失败 (red, 同 agent_offline) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
web-admin 补 EVENT_BADGES 的 login_succeeded / login_failed 中文标签。 2.2.0 漏发了这一条,2.2.1 兜上。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EVENT_BADGES决定 web-admin 派发日志筛选与插件列表徽标的中文标签。tg-notify v1.4.0 (PR #10) 在subscribes里新增login_succeeded/login_failed,但这张表没跟上,所以面板列表与日志筛选都回退到英文原文,且这两类派发在日志筛选框里默认不被勾选、操作员看不到。按现有配色补两行:
login_succeeded:登录成功(emerald,同agent_online)login_failed:登录失败(red,同agent_offline)Test plan
tsc -bcleanoxlintcleanlogin_succeeded/login_failed应渲染为「登录成功」/「登录失败」(不再回退到英文);进派发日志筛选框,这两类事件应默认勾选可见。🤖 Generated with Claude Code