Skip to content

[jp-sync] Sync JP TOC: add QR Code entry - #858

Open
github-actions[bot] wants to merge 6 commits into
vnextfrom
jp-sync/qr-code-toc-entry-9c2e8c00f3feb40f
Open

github-actions[bot] wants to merge 6 commits into
vnextfrom
jp-sync/qr-code-toc-entry-9c2e8c00f3feb40f

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Original author: Simeon Simeonoff (sim.simeonoff@gmail.com)

Syncs the Japanese Angular documentation TOC with the English change introduced by PR #837 (feat(qr-code): add docs), merge commit e0c49ec.

Files processed

English file Japanese counterpart Change
docs/angular/src/content/en/components/toc.json docs/angular/src/content/jp/components/toc.json Added new "QR Code" entry (inputs/qr-code.mdx, new: true) after the "Badge" entry, mirroring the English TOC addition. Component name kept as "QR Code" (untranslated), consistent with other English-origin component names already in the JP TOC (e.g. "Badge", "Switch", "Mask", "Icon", "Checkbox").

Notes

  • The actual inputs/qr-code.mdx content page for the Angular platform is generated at build time from docs/xplat sources and is git-ignored under docs/angular/src/content/{en,jp}/components/inputs/, so it never appears in the diff and requires no manual translation here — only the TOC entry needed to be added.
  • No other TOC-covered English files were changed in this push; all other file changes in the source commit (images, docs/xplat/**) fall outside the scope of docs/angular/src/content/en -> jp sync.

Generated by Sync Japanese Documentation (Angular) · copilot · auto · 118.7 AIC · ⌖ 2.19 AIC · ⊞ 9.7K · ◷

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mkamiishi
mkamiishi self-requested a review September 28, 2026 00:35
mkamiishi
mkamiishi previously approved these changes Sep 28, 2026
@mkamiishi

Copy link
Copy Markdown
Contributor

The required check-relative-links check is failing because the Japanese TOC entry points to inputs/qr-code.mdx, but the corresponding Japanese xplat source does not exist:

docs/xplat/src/content/jp/components/inputs/qr-code.mdx

The English source exists, but without the Japanese xplat source, the Angular Japanese page is not generated and the TOC entry is dropped from the sidebar. Could you add the Japanese topic or remove this TOC entry until the translation is available?

The JP TOC entries added by this branch pointed at a page that did not
exist, so buildSidebar() dropped them and check-relative-links failed for
both the xplat and Angular doc sets.

The xplat JP sync that should have produced this page skipped it: run
36129656534 could not determine the changeset in a shallow clone and
emitted a noop, which `if-no-changes: ignore` reported as a green run.
The workflow fix is separate (#868); this adds the missing translation.

Mirrors docs/xplat/src/content/en/components/inputs/qr-code.mdx in full,
following the translation rules in .github/workflows/sync-jp-docs-xplat.md:
prose translated, `_language: ja` added, and imports, JSX tags and their
non-prose attributes, {Token} placeholders and code fences preserved
byte-for-byte. QR terminology follows JIS X 0510 (誤り訂正, 位置検出パターン,
モジュール).

Also restores the trailing newline on jp/toc.json, dropped in d992a98.

Both relative link checks now report 0 broken.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ChronosSF
ChronosSF requested a review from mkamiishi September 28, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants