Skip to content

fix(i18n): polish Japanese onboarding checklist copy - #19035

Merged
nwparker merged 7 commits into
stablyai:mainfrom
tb-soshiro:feat/onboarding-checklist-ja-locale
Oct 5, 2026
Merged

nwparker merged 7 commits into
stablyai:mainfrom
tb-soshiro:feat/onboarding-checklist-ja-locale

Conversation

@tb-soshiro

@tb-soshiro tb-soshiro commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

The Japanese Setup Guide now uses clearer, consistent checklist wording. For example, the integration step reads 連携を設定 instead of 接続連携, and the default-agent heading is shorter and easier to scan.

What Changed

  • Update 13 existing Japanese checklist strings and align both Setup Guide subtitles to 並列.
  • Keep the current workOnTwoTasks, agentSkillsName, and agentSkillsDescription keys and translations, matching the current checklist behavior.
  • Extend catalog coverage to Japanese alongside Korean, reject duplicate Japanese setup objects before JSON parsing can hide them, and exercise all eight steps through the real Japanese and Korean runtime catalogs.

Why

Updating the existing catalog keeps the current checklist translations effective. Adding another setup object would let JSON parsing silently discard one object's copy. The regression test catches that failure directly.

Linked Issue

Fixes #19034

Visual Proof

macOS, disposable profile, Japanese locale, hidden Electron renderer driven through Playwright CDP. All eight steps were clicked, their headings and descriptions checked against the catalog, and their descriptions confirmed within the viewport. The checklist was also checked in Settings. Longer labels wrap without clipping.

The before screenshot uses the current main checklist catalog and subtitle loaded into the same renderer; after uses this branch's catalog.

Before After
Japanese checklist before Japanese checklist after

Longer checklist copy:

Workspace setup step
Two tasks step

Testing

  • 23 focused test files / 221 tests passed (feature-wall-setup-checklist-localized-copy.test.ts plus src/renderer/src/i18n).
  • The new duplicate-object test failed on the uncorrected merge result and passed after the catalog fix.
  • pnpm tc:web.
  • pnpm run check:code-quality:changed origin/main, focused oxlint and formatting checks, and commit hooks.
  • Rebuilt main/preload and manually checked the rendered checklist in a hidden Electron instance on macOS.
  • Repository-wide verify:localization-catalog reports 12 pre-existing missing worktree.nestedRemoval.* English keys. en.json, DeleteNestedWorktreesDialog.tsx, and nested-worktree-preserved-branches-toast.ts are unchanged from main.

AI Disclosure

The original Japanese wording was drafted with Claude Code and reviewed by the original author, a native Japanese speaker.

Review

Catalog and test changes only. No execution, persistence, SSH, remote-wire, platform-specific, git-provider, or mobile behavior changes. Non-English catalogs remain lazily loaded.

Agent skill upstream boundary

  • Not applicable: no upstream agent-skill content is changed.

Checklist

  • Small, focused change with before/after behavior and mechanism explained.
  • Before/after screenshots attached.
  • Correctness, security, performance, and platform/remote impact reviewed.
  • Focused validation and rendered UI checks completed; inherited catalog-check failure documented above.

Add Japanese translations for the 16 setup-checklist step names and
descriptions (`auto.components.feature.wall.feature.wall.setup.checklist.
localized.copy.*`) that were still falling back to English in the Setup
Guide modal and settings pane, and extend the checklist copy test so the
Japanese catalog is guarded alongside Korean.
@tb-soshiro
tb-soshiro marked this pull request as ready for review September 6, 2026 07:46
@coderabbitai

coderabbitai Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c8a68b09-a2d3-4de5-ae37-c6207cea1773
📥 Commits

Reviewing files that changed from the base of the PR and between c28a82f and 9f0705d.

📒 Files selected for processing (2)
  • src/renderer/src/components/feature-wall/feature-wall-setup-checklist-localized-copy.test.ts
  • src/renderer/src/i18n/locales/ja.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/renderer/src/i18n/locales/ja.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

Adds Japanese translations for 16 feature-wall setup checklist entries and revises wording in two other Japanese descriptions. Extends catalog tests to check English entry types and verify Japanese and Korean translations. Runtime tests check translated names and descriptions for every checklist step.

Priority: ➖ Normal

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 9f070

This change adds Japanese setup checklist text and tests for it. I found no concrete merge-blocking risk.

Architecture Summary

Architecture risk: 🔵 Low · up to 9f070

The change affects 1 system.

Changed systems: src

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — src (ui) was modified; 2 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in src/renderer/src/components/feature-wall/feature-wall-setup-checklist-localized-copy.test.ts: Added JSONC parsing and Japanese catalog imports, including the raw Japanese catalog source used by the structural test.
  • observed — Modified behavior in src/renderer/src/components/feature-wall/feature-wall-setup-checklist-localized-copy.test.ts: Added a test that parses the Japanese catalog, locates the feature-wall setup section, and asserts it occurs exactly once.
  • observed — Modified behavior in src/renderer/src/components/feature-wall/feature-wall-setup-checklist-localized-copy.test.ts: Added checks that the English setup checklist catalog has 16 entries and that every value is a string.
  • observed — Modified behavior in src/renderer/src/components/feature-wall/feature-wall-setup-checklist-localized-copy.test.ts: Added Japanese and Korean catalog checks requiring 16 entries, nonempty string values, and values distinct from the corresponding English entries; this replaces the prior Korean presence-only checks.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Issue #19034 requires 16 Japanese checklist translations and Japanese catalog coverage in the test. The PR adds the eight names and eight descriptions to ja.json. The test checks Japanese and Korean…
Out of Scope Changes check ✅ Passed The test changes support issue #19034. The two subtitle wording changes from 並行 to 並列 align the existing Setup Guide subtitle with the newly localized 並列開発 step. No unrelated changes are identified.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Title check ✅ Passed The title clearly and concisely describes the Japanese onboarding checklist copy changes.
Description check ✅ Passed The description covers the required sections, explains the change and its purpose, links issue #19034, includes visual proof and testing details, and documents the known localization check failure.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: 52429bd7-307a-4dba-9110-f3530800c3f7

📥 Commits

Reviewing files that changed from the base of the PR and between e73f8df and ec9ced0.

📒 Files selected for processing (2)
  • src/renderer/src/components/feature-wall/feature-wall-setup-checklist-localized-copy.test.ts
  • src/renderer/src/i18n/locales/ja.json

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

  • ja.json catalog entries — added the 16 hashed ...feature.wall.setup.checklist.localized.copy.* keys (8 names + 8 descriptions) at the same nesting position as en.json (setup before usage); hash keys match en.json exactly.
  • Localized-copy test refactor — split the English-count assertion into its own case and generalized the locale check to it.each({ ja, ko }), now also asserting each localized value differs from the English source.

Verified the hash→value mapping against en.json, the ja.json insertion nesting against the Korean counterpart, and that the test can actually fail on a missing key (empty Object.keys / toBe(16) / toBeTruthy / not.toBe(enVal) each catch a distinct regression). Text-only i18n change with no behavior, platform, SSH, or security surface.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

並列 is the term Claude Code's Japanese docs ("並列セッション"), Cursor's
Japanese coverage ("並列エージェント"), and the Zenn/Qiita worktree
articles use for running several worktrees or agents at once; 並行 was
the outlier.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues — one informational note on terminology consistency below.

Reviewed changes

  • Renamed the "Multi-task" step wording — changed the step name from 並行作業 to 並列開発 and its description from 並行して進める to 並列で進める (ja.json ec0a363633 / 62bac8f43c); hash keys and the test are untouched by this commit.

ℹ️ Step-name terminology now diverges from the modal subtitle

The "Multi-task" step name is now 並列開発, but the Setup Guide subtitle it sits under still reads Orca を並行 Agent 作業に活用する… (ja.json:5313, ja.json:7063). The PR description's translation table and "Localization Notes" still document the pre-rename 並行作業, and those notes justify that choice by matching the subtitle — so the stated rationale is now stale. Worth confirming the 並行/並列 split within the same modal is intentional and updating the PR body to match the committed wording.

Technical details
# Step-name terminology diverges from modal subtitle

## Affected sites
- `src/renderer/src/i18n/locales/ja.json:12416` — step name `並列開発` (was `並行作業`).
- `src/renderer/src/i18n/locales/ja.json:5313`, `:7063` — Setup Guide subtitle still uses `並行 Agent 作業`.

## Open questions for the human
- Is the `並列`/`並行` divergence within the modal intentional, or should the subtitle and step name align?
- Update the PR description table + Localization Notes, which still show `並行作業` / `並行して進める`.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

  • Hardened the localized-copy test — added an explicit expect(typeof localeVal, hash).toBe('string') assertion before the existing truthiness and differs-from-English checks, so a non-string catalog value now fails with a clearer message.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

The subtitle sits directly above the 並列開発 step in the same modal and
the Korean catalog already renders "parallel agent work" as 병렬; use
並列 in Japanese too so the modal does not mix 並行 and 並列.

@tb-soshiro tb-soshiro left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Addressed the review notes:

  • CodeRabbit: the localized-copy test now asserts typeof localeVal === 'string' before the truthiness / not-English checks (6392d91).
  • pullfrog: the Setup Guide subtitle (SetupGuideModal.3598a3ca0c / Settings.6855b0f77d) now uses 並列 to match the 並列開発 step, in line with the Korean 병렬 rendering (c28a82f). PR body and After screenshots updated to the committed wording.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

  • Aligned the Setup Guide subtitle with 並列 — changed the two existing subtitle entries (SetupGuideModal.3598a3ca0c and Settings.6855b0f77d) from 並行 to 並列, so the modal no longer mixes terminology above the 並列開発 step and matches the Korean 병렬 rendering. This resolves the earlier terminology note.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@nwparker

nwparker commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Thanks alot! Sorry this one got delayed 🥹 🙏

@nwparker nwparker changed the title feat(i18n): localize onboarding checklist steps to Japanese fix(i18n): polish Japanese onboarding checklist copy Oct 5, 2026
@nwparker
nwparker merged commit 56dbf1b into stablyai:main Oct 5, 2026
1 check failed
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.

[Feature]: Japanese translations missing for the Setup Guide checklist steps

2 participants