Skip to content

fix(i18n): use 工作树 consistently for parent worktree strings in zh locale - #16954

Merged
AmethystLiang merged 6 commits into
mainfrom
being-able-to-select-parent-worktree-when-creating-worktree
Aug 28, 2026
Merged

AmethystLiang merged 6 commits into
mainfrom
being-able-to-select-parent-worktree-when-creating-worktree

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 0

Summary

  • Fixes zh locale review feedback from PR Add parent worktree selection when creating workspace #15420: parent worktree strings inconsistently mixed 工作区 (workspace) and 工作树 (worktree) terminology.
  • createdWithoutParentNestingDetail, ComposerParentWorktreePicker.description, and ComposerParentWorktreePicker.searchPlaceholder now use 工作树 consistently, matching the sibling label/noParent/createdWithoutParentNestingUnnamed strings.

Test plan

  • git diff --check
  • pnpm test on zh-technical-literal-mistranslations, locale-english-regression, technical-literal-catalog-values, ComposerParentWorktreePicker.test.tsx — all passing

Enable users to pick a parent workspace in the composer's Advanced drawer,
organizing newly created worktrees hierarchically in the sidebar. The backend
validates lineage relationships and gracefully retries without the parent if
it becomes unavailable during creation.
- Record app-picked parents as manual actions, not CLI-flag equivalents,
  ensuring the same user action carries consistent cleanup semantics across hosts
- Gracefully retry without parent if the selection goes stale, warn the
  user instead of failing
- Refactor create into modules: parent resolution, payload building,
  state merge
- New parent worktree picker filtered by execution host and project
- Preserve concurrent local writes to lineage by comparing per-record state instead of key-set membership
- Rename "Parent workspace" label to "Parent worktree"
- Filter candidates by execution host and project to prevent nesting across hosts
- Wire parentWorktreeId through composer state and creation request pipeline
- Update translations and add new copy for nesting-related messages
Addresses PR #15420 review feedback: parent worktree strings mixed
工作区 (workspace) and 工作树 (worktree) terminology.
…parent-worktree-when-creating-worktree

# Conflicts:
#	src/renderer/src/i18n/locales/zh.json
@AmethystLiang
AmethystLiang merged commit 6f3c5cc into main Aug 28, 2026
2 of 18 checks passed
@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f402956a-0133-4446-8ab0-4ac4961436f9

📥 Commits

Reviewing files that changed from the base of the PR and between 3d796b8 and b061385.

📒 Files selected for processing (2)
  • src/renderer/src/components/terminal-pane/__fixtures__/ipados-hardware-2set-hangul-batchim-migration-trace.json
  • src/renderer/src/i18n/locales/zh.json

📝 Walkthrough

Walkthrough

The change reformats the observedSent array in an iPadOS hardware keyboard fixture without changing its contents. It also updates three Chinese localization strings to use worktree terminology for parent nesting details, picker descriptions, and search text.

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch

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.

paidaxingyo666 pushed a commit to paidaxingyo666/Manta that referenced this pull request Aug 30, 2026
…ale (stablyai#16954)

* feat: select parent worktree for nesting when creating workspace

Enable users to pick a parent workspace in the composer's Advanced drawer,
organizing newly created worktrees hierarchically in the sidebar. The backend
validates lineage relationships and gracefully retries without the parent if
it becomes unavailable during creation.

* feat: select parent worktree for nesting when creating workspace

- Record app-picked parents as manual actions, not CLI-flag equivalents,
  ensuring the same user action carries consistent cleanup semantics across hosts
- Gracefully retry without parent if the selection goes stale, warn the
  user instead of failing
- Refactor create into modules: parent resolution, payload building,
  state merge

* Allow selecting parent worktree when creating workspace

- New parent worktree picker filtered by execution host and project
- Preserve concurrent local writes to lineage by comparing per-record state instead of key-set membership

* Allow selecting parent worktree when creating workspace

- Rename "Parent workspace" label to "Parent worktree"
- Filter candidates by execution host and project to prevent nesting across hosts
- Wire parentWorktreeId through composer state and creation request pipeline
- Update translations and add new copy for nesting-related messages

* fix(i18n): use 工作树 consistently for parent worktree strings in zh locale

Addresses PR stablyai#15420 review feedback: parent worktree strings mixed
工作区 (workspace) and 工作树 (worktree) terminology.

(cherry picked from commit 6f3c5cc)
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…ale (stablyai#16954)

* feat: select parent worktree for nesting when creating workspace

Enable users to pick a parent workspace in the composer's Advanced drawer,
organizing newly created worktrees hierarchically in the sidebar. The backend
validates lineage relationships and gracefully retries without the parent if
it becomes unavailable during creation.

* feat: select parent worktree for nesting when creating workspace

- Record app-picked parents as manual actions, not CLI-flag equivalents,
  ensuring the same user action carries consistent cleanup semantics across hosts
- Gracefully retry without parent if the selection goes stale, warn the
  user instead of failing
- Refactor create into modules: parent resolution, payload building,
  state merge

* Allow selecting parent worktree when creating workspace

- New parent worktree picker filtered by execution host and project
- Preserve concurrent local writes to lineage by comparing per-record state instead of key-set membership

* Allow selecting parent worktree when creating workspace

- Rename "Parent workspace" label to "Parent worktree"
- Filter candidates by execution host and project to prevent nesting across hosts
- Wire parentWorktreeId through composer state and creation request pipeline
- Update translations and add new copy for nesting-related messages

* fix(i18n): use 工作树 consistently for parent worktree strings in zh locale

Addresses PR stablyai#15420 review feedback: parent worktree strings mixed
工作区 (workspace) and 工作树 (worktree) terminology.
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.

1 participant