Skip to content

fix(web): add Traditional Chinese child delimiter translations - #18951

Merged
JinHai-CN merged 2 commits into
infiniflow:mainfrom
huyua9:fix/zh-traditional-child-delimiter-huyua9
Sep 11, 2026
Merged

JinHai-CN merged 2 commits into
infiniflow:mainfrom
huyua9:fix/zh-traditional-child-delimiter-huyua9

Conversation

@huyua9

@huyua9 huyua9 commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds the three Traditional Chinese locale keys used by the child-chunk delimiter configuration: enableChildrenDelimiter, childrenDelimiter, and childrenDelimiterTip.

Why is this needed?

The child delimiter form directly renders these keys, and zh.ts defines them, but zh-traditional.ts did not. Traditional Chinese users could therefore see English fallback text or untranslated keys in this supported locale.

Validation

  • Exact locale key check: passed; each new key is defined once.
  • git diff --check: passed.
  • Frontend Jest, type-check, lint, and format were unavailable locally because this checkout has no node_modules.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🧰 typescript Pull requests that update Typescript code labels Aug 28, 2026
@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: fe7a7ea0-beeb-416f-8313-9e2de48182a7

📥 Commits

Reviewing files that changed from the base of the PR and between eb92cee and cba0e86.

📒 Files selected for processing (1)
  • web/src/locales/zh-traditional.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • web/src/locales/zh-traditional.ts

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


📝 Walkthrough

Walkthrough

Traditional Chinese localization now includes strings for child text block retrieval, delimiter configuration, and delimiter behavior.

Changes

Retrieval localization

Layer / File(s) Summary
Child text block setting translations
web/src/locales/zh-traditional.ts
Added Traditional Chinese strings for child text block retrieval, delimiter configuration, and delimiter behavior.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to cba0e

The locale-only change is ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding Traditional Chinese translations for the child delimiter configuration.
Description check ✅ Passed The description clearly explains what changed, why it was needed, and how it was validated. It does not use the template's exact "### Summary" heading, but it provides the required summary and backgro…
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…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

A rabbit found new words to share
Traditional Chinese now fills the air
Child blocks hop into the queue
Delimiters guide them through
Small strings make the settings clear

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

@JinHai-CN JinHai-CN added the ci Continue Integration label Sep 11, 2026
@JinHai-CN
JinHai-CN merged commit 296c101 into infiniflow:main Sep 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files. 🧰 typescript Pull requests that update Typescript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants