Skip to content

[jp-sync] Sync switch topics translation (from #546) - #835

Open
github-actions[bot] wants to merge 2 commits into
vnextfrom
jp-sync/switch-topics-546-6e7d4a0a9f499509
Open

github-actions[bot] wants to merge 2 commits into
vnextfrom
jp-sync/switch-topics-546-6e7d4a0a9f499509

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Original author: Hristo Hristov 57346540+Hristo313@users.noreply.github.com

Syncs the Japanese (docs/xplat/src/content/jp) documentation with the English switch topic changes introduced in commit 5f68139 ("feat(switch): update switch topics (#546)").

Files processed

English source Japanese counterpart Change
docs/xplat/src/content/en/components/inputs/switch.mdx docs/xplat/src/content/jp/components/inputs/switch.mdx Full re-translation. The English topic was substantially rewritten (new title, anatomy section, restructured getting-started/usage sections per platform, interaction/disabled/on-off states, layout, do/don't table, properties table, expanded styling section with Sass/CSS variables/parts/Tailwind, accessibility section, troubleshooting, API references, dependencies, related components, and FAQ). The Japanese file was rewritten to mirror this structure while preserving all PlatformBlock/ApiLink/Sample/Anatomy/Faq/FaqItem tags, imports, code blocks, and {Token} placeholders exactly. Tag counts were verified to match the English source (PlatformBlock: 57, ApiLink: 27, Sample: 14, FaqItem: 4). Added last_updated: "2026-08-31" and relatedComponents: [Checkbox, ToggleButton] frontmatter fields to match the English source, alongside the existing _language: ja.
docs/xplat/src/content/en/components/inputs/badge.mdx docs/xplat/src/content/jp/components/inputs/badge.mdx Updated the two "outlined" badge <Sample> heights from 212 to 250 to match the English change. No prose changed in this file.
docs/xplat/src/content/en/toc.json docs/xplat/src/content/jp/toc.json Removed the exclude: ["Angular"] entry for the Switch item and added "updated": true, matching the English toc.json change. The existing Japanese name value ("スイッチ") was left untouched since it wasn't part of the diff.

Not synced

  • docs/xplat/src/content/en/components/interactivity/accessibility-compliance.mdx had a one-line link-path fix (../switch.mdx../inputs/switch.mdx). The Japanese counterpart currently uses a different (older) table layout for this content that does not contain an equivalent Markdown link to update, so no change was made there. This pre-existing structural drift between the English and Japanese accessibility-compliance topics is unrelated to the Switch update and may need separate attention.

Generated by Sync Japanese Documentation (xplat) · copilot · auto · 345.8 AIC · ⌖ 2.74 AIC · ⊞ 11.1K ·

Sync Japanese documentation with English switch topic updates from
commit 5f68139 (feat(switch): update switch topics (#546)).

- components/inputs/switch.mdx: full translation of the reworked
  Switch topic (anatomy, getting started, usage, interaction states,
  styling, accessibility, troubleshooting, FAQ, related components).
- components/inputs/badge.mdx: updated Sample height (212 -> 250) for
  the outlined badge example, matching the English change.
- toc.json: removed the Angular exclude on the Switch entry and added
  updated: true, matching the English toc.json change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant