Skip to content

docs(zh): translate Java example & dependency settings for v0.7#42

Open
tikazyq wants to merge 1 commit into
mainfrom
docs/v0.7-zh-translations
Open

docs(zh): translate Java example & dependency settings for v0.7#42
tikazyq wants to merge 1 commit into
mainfrom
docs/v0.7-zh-translations

Conversation

@tikazyq

@tikazyq tikazyq commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Two zh docs lagged the v0.7 English refresh and are filled in here:

  • examples/java — the English page had no Chinese translation at all (19 KB EN-only). Adds the full zh version, following the existing go/colly zh examples: prose, Javadoc, inline comments and log messages translated; code, selectors and identifiers left intact. Code-fence and heading counts match the EN source (14 fences, 18 headings).
  • guides/system-settings/dependency — zh was a stale 3-line stub while the EN page had been expanded into a full system-settings doc (ratio 0.21). Re-translated to match.

Coverage audit of packages/v0.7 EN↔ZH: these were the only two real gaps; every other doc is at a normal 0.7–1.0 size ratio.

🤖 Generated with Claude Code

Two zh docs lagged the v0.7 EN refresh:
- examples/java: had no zh translation at all (EN-only). Add the full
  Chinese version, mirroring the go/colly zh examples (prose, Javadoc,
  inline comments and log messages translated; code/selectors kept).
- guides/system-settings/dependency: zh was a stale 3-line stub while
  EN had been expanded into a full system-settings page. Re-translate
  to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 9, 2026 09:57
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crawlab-docs Ready Ready Preview, Comment Jun 9, 2026 9:58am

Request Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the v0.7 Chinese documentation to align with the refreshed English content by filling two remaining translation gaps: the Java example page and the system-level dependency settings guide.

Changes:

  • Added a full zh translation for the examples/java page (prose and comments translated; code/selectors/identifiers preserved).
  • Expanded the zh guides/system-settings/dependency page from a stub into a full translation matching the EN structure/content.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
packages/v0.7/i18n/zh/docusaurus-plugin-content-docs/current/guides/system-settings/dependency/index.md Replaces the previous stub with a complete zh translation of the v0.7 dependency settings guide.
packages/v0.7/i18n/zh/docusaurus-plugin-content-docs/current/examples/java/index.md Adds the missing zh Java spider example page, mirroring the EN content and structure.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

### 在 Crawlab 中创建爬虫

1. 在 Crawlab 网页界面中,导航至爬虫列表
2. 点击「新建爬虫」按钮
- 名称:"book_scraper"
- 执行命令:`java -jar book-scraper.jar`
- 参数:(留空)
4. 点击「确认」创建爬虫
Comment on lines +467 to +471
1. 导航至「依赖」页面
2. 在「环境」下拉列表中选择「Java」
3. 如果 Java 尚未安装,点击「安装环境」
4. 选择您想要安装 Java 的版本和节点
5. 点击「确认」
```

2. 在 Crawlab 中,导航至爬虫的详情页面
3. 点击「文件」标签页
Comment on lines +499 to +502
2. 点击「运行」按钮
3. 选择用于执行的目标节点
4. 如有需要,添加参数(例如 `{"category":"fiction"}`)
5. 点击「确认」启动爬虫
4. 如有需要,添加参数(例如 `{"category":"fiction"}`)
5. 点击「确认」启动爬虫

爬虫完成后,您可以在爬虫详情页面的「数据」标签页中查看采集到的图书数据。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants