Skip to content

Add a Chinese README, and hold all three to the same shape - #17

Closed
652436962 wants to merge 1 commit into
medinstech:mainfrom
652436962:readme-zh-cn
Closed

652436962 wants to merge 1 commit into
medinstech:mainfrom
652436962:readme-zh-cn

Conversation

@652436962

Copy link
Copy Markdown
Contributor

What this changes

Adds README.zh-CN.md, a Chinese translation of the landing page, and links it from the English and Turkish READMEs. tests/test_docs.py now holds all three READMEs to the same shape: heading levels, code fences, table rows, inline code spans, in-page anchors and the MCP tool count.

Why

Chinese readers are a large part of the DIY electronics audience, and the README is the one page this project keeps per language (docs/ stays English on purpose). A Chinese README is the smallest complete step towards serving them; the interface itself remains English/Turkish.

Checks

  • pytest — tests/test_docs.py run locally: 10 passed, 3 skipped (the skips are the local-only CLAUDE.md checks). The full suite needs PySide6/VTK and is left to CI, which this checkout does not have.
  • mypy --strict src — no src changes.
  • New rendering behaviour — not applicable; this is documentation only.
  • CHANGELOG.md updated under ## [Unreleased].
  • New or changed UI strings — not applicable; the interface is unchanged.

Things this repository is fussy about

  • This adds a mutation — no.
  • This adds an optional model field — no.
  • This changes golden output — no.
  • I have not read or adapted source code from the GPL-licensed tools in this space.

@SinanTufekci

Copy link
Copy Markdown
Member

Thank you, @652436962! Both are on main for 0.26.0, with you as the author:

We land outside work by putting the commits on main ourselves rather than with the merge button, so this shows as closed, not merged; the commits are yours, and the CHANGELOG thanks you in both entries.

On top, in separate commits: the Chinese README names Chinese among the interface languages, a guide line of several clauses is joined with the Chinese comma, pinout cards measure and wrap Chinese as Chinese (the legend overlapped), the HTML guide is tagged zh-Hans, and the settings search and the engine's sentences are tested in all three catalogues.

One thing for Linux users: the AppImage carries no CJK font, so the window needs a system one (Noto Sans CJK or WenQuanYi). A native speaker's pass over the wording is very welcome, as you offered: a follow-up PR is the easiest way.

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