Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This submission translates multiple sparse English documentation files (en.md) using their complete Chinese (zh.md) counterparts as the source. It covers various sections of the API and manual, providing full English content where previously only frontmatter existed. The change also includes a refactoring of the "Copy and Export" docs into a shared, embeddable file.


PR created automatically by Jules for task 10851397697808462442 started by @Alexzjt

Identifies and translates several untranslated `en.md` files in the `s2-site/docs` directory, using the corresponding `zh.md` files as the source of truth.

This commit addresses the issue of sparse English documentation by providing full translations for several pages in the API reference and the user manual. It also includes a minor refactor to consolidate the "Copy and Export" documentation into a single, embeddable file to improve maintainability.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@github-actions
Copy link
Contributor

你好 @google-labs-jules[bot],非常感谢你的贡献.
为了让代码更健壮, 请根据 贡献指南 补充相应单元测试 (文档改动或其他特殊场景除外), 如果有 API 改动, 请修改 相应的文档.
同时请检查 linttest 相关 CI 是否通过, 如果失败, 请点击 [Details] 按钮查看, 并根据日志修复.

Hello, @google-labs-jules[bot], Thanks for your contribution. In order to make the code more robust, please add the corresponding unit tests, and update the docs if there are API changes.
At the same time, please check whether the CI related to lint and test passes. If the CI fails, please click [Details] button to check and repair according to the log.

@codecov-commenter
Copy link

codecov-commenter commented Dec 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (docs/translate@3f16409). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             docs/translate    #3264   +/-   ##
=================================================
  Coverage                  ?   79.63%           
=================================================
  Files                     ?      217           
  Lines                     ?    12006           
  Branches                  ?     2692           
=================================================
  Hits                      ?     9561           
  Misses                    ?      817           
  Partials                  ?     1628           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

Size Change: +2 B (0%)

Total Size: 628 kB

Filename Size Change
./packages/s2-core/dist/s2.min.css 583 B +2 B (+0.34%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/s2-extends.min.js 158 kB
./packages/s2-core/dist/s2.min.js 263 kB
./packages/s2-react-components/dist/s2-react-components.min.css 2.55 kB
./packages/s2-react-components/dist/s2-react-components.min.js 124 kB
./packages/s2-react/dist/s2-react.min.css 1.3 kB
./packages/s2-react/dist/s2-react.min.js 38.5 kB
./packages/s2-vue/dist/s2-vue.min.css 1.59 kB
./packages/s2-vue/dist/s2-vue.min.js 38.3 kB

compressed-size-action

@Alexzjt Alexzjt changed the title Translate Sparse English Documentation Files docs: Translate Sparse English Documentation Files Dec 24, 2025
@Alexzjt Alexzjt marked this pull request as ready for review December 24, 2025 03:16
@github-actions github-actions bot added the pr(documentation) documentation label Dec 24, 2025
@Alexzjt Alexzjt merged commit f8f4f70 into docs/translate Dec 24, 2025
11 checks passed
@Alexzjt Alexzjt deleted the feat/translate-docs-10851397697808462442 branch December 24, 2025 03:17
Alexzjt added a commit that referenced this pull request Dec 25, 2025
* feat(docs): Translate s2-site documentation to English

Translated the markdown files in the s2-site/common and s2-site/docs directories from Chinese (zh.md) to English (en.md).

The Chinese documentation was used as the source of truth, as the English versions were often outdated or incomplete. This involved:
- Updating existing English files to match their Chinese counterparts.
- Creating new English files for documents that only had a Chinese version.
- Ensuring code examples and links were also updated and corrected.

* docs: 更新英文文档

* docs: 更新英文文档

* docs: Translate Sparse English Documentation Files (#3264)

feat(docs): translate sparse English documentation files

Identifies and translates several untranslated `en.md` files in the `s2-site/docs` directory, using the corresponding `zh.md` files as the source of truth.

This commit addresses the issue of sparse English documentation by providing full translations for several pages in the API reference and the user manual. It also includes a minor refactor to consolidate the "Copy and Export" documentation into a single, embeddable file to improve maintainability.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

* docs: 修复死链

* docs: 修复死链

* docs: 修复国际化文档

* docs: 修复透视组合图的英文文档

* docs: Update s2-site/common/copy-export.en.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Alexzjt added a commit that referenced this pull request Dec 25, 2025
* feat(docs): Translate s2-site documentation to English

Translated the markdown files in the s2-site/common and s2-site/docs directories from Chinese (zh.md) to English (en.md).

The Chinese documentation was used as the source of truth, as the English versions were often outdated or incomplete. This involved:
- Updating existing English files to match their Chinese counterparts.
- Creating new English files for documents that only had a Chinese version.
- Ensuring code examples and links were also updated and corrected.

* docs: 更新英文文档

* docs: 更新英文文档

* docs: Translate Sparse English Documentation Files (#3264)

feat(docs): translate sparse English documentation files

Identifies and translates several untranslated `en.md` files in the `s2-site/docs` directory, using the corresponding `zh.md` files as the source of truth.

This commit addresses the issue of sparse English documentation by providing full translations for several pages in the API reference and the user manual. It also includes a minor refactor to consolidate the "Copy and Export" documentation into a single, embeddable file to improve maintainability.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

* docs: 修复死链

* docs: 修复死链

* docs: 修复国际化文档

* docs: 修复透视组合图的英文文档

* Initial plan

* Update API documentation to match actual code APIs

Co-authored-by: Alexzjt <[email protected]>

* Update node.en.md and s2-data-config.en.md API documentation

Co-authored-by: Alexzjt <[email protected]>

* Fix code review issues in API documentation

Co-authored-by: Alexzjt <[email protected]>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Alexzjt <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Alexzjt <[email protected]>
Co-authored-by: huiyu.zjt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr(documentation) documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants