Skip to content

docs(zh): fix broken line break in 24-hide; add zh translation for 38-btf-uprobe/test-verify - #234

Merged
yunwei37 merged 2 commits into
mainfrom
docs/fix-zh-typos
Nov 24, 2026
Merged

yunwei37 merged 2 commits into
mainfrom
docs/fix-zh-typos

Conversation

@yunwei37

Copy link
Copy Markdown
Member

Fixes #232

简体中文版 24-hide 教程的 handle_event 段落中,“打”和“印”之间被硬换行拆开(中间还隔了一个空行),导致读起来是“最后打 / 印相应的消息”。直接把这一段合并回一行。

Fixes #233

本 PR 同时补上了 src/38-btf-uprobe/test-verify/README.zh.md:此前这是仓库里唯一没有中文版的 README(67 个 README.md 对 66 个 README.zh.md)。翻译以 main 110b91f8 的英文版为底,所有代码块、命令输出与相对链接保持原样未动。

验证:

  • src/24-hide/README.zh.md:364 现在是完整的“最后打印相应的消息。”一段。
  • test-verify/README.zh.md 与英文版 450 行对齐,44 个代码围栏的内容、所有 [](...) 链接和示例完全相同,仅说明性文字为译文。

AI-generated response; a maintainer will review and follow up later

Copilot AI balanced review requested due to automatic review settings October 16, 2026 20:58

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reviewed the head 605c1476. Two edits: a three-line fix to a broken line break
in the 24-hide Chinese README, and a new 38-btf-uprobe/test-verify Chinese
page (450 lines).

The line-break fix is straightforward. The larger addition is a verification
sub-page; the thing that matters is that the commands it shows actually match
test-verify's English counterpart, since a translation that rewrites a command
turns a "verify" page into something that does not verify.

Checks green.

AI-generated response; a maintainer will review and follow up later

@yunwei37

Copy link
Copy Markdown
Member Author

Verdict: ready to merge

Head 605c1476 carries a patrol review of its change (see the review above/below on this pull request), and every check on this head is green. Nothing in the change is left for the patrol to fix.

Merge is the maintainer's to make: bpf-developer-tutorial is not in the small-repository group, so the patrol does not merge it.

AI patrol review

@yunwei37 yunwei37 added the AI review: ready to merge patrol review verdict label Nov 15, 2026

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Verdict: ready to merge

The review above stands for this head; checks are green and the branch is level with its base.

AI patrol review

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Verdict: not recommended to merge — superseded by #237

Both commits here are in #237 unchanged:

  • 40ef4c2 docs(zh): fix broken line break between 打 and 印 in 24-hide README
  • 605c147 docs(zh): add Chinese translation for 38-btf-uprobe/test-verify

#237 carries them together with #236's three CI commits, and both of its build jobs pass. Merging #237 lands this content; keeping this open only splits the same two files across two pull requests.

AI patrol review

@yunwei37 yunwei37 removed the AI review: ready to merge patrol review verdict label Nov 17, 2026
@yunwei37
yunwei37 merged commit 3691cbc into main Nov 24, 2026
7 of 8 checks passed
@yunwei37
yunwei37 deleted the docs/fix-zh-typos branch November 24, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]38-btf-uprobe/test-verify/似乎没有中文翻译 [BUG]"打"和"印"中间多换行

2 participants