Skip to content

fix(web): capitalize URL and drop exclamation mark in base URL locale strings - #17110

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/base-url-locale-case
Jul 20, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/base-url-locale-case

Conversation

@euvre

@euvre euvre commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

The Chinese locale strings for the LLM provider base URL field used inconsistent casing ("Url") and an awkward trailing exclamation mark in the validation message, which also shows up as the input placeholder in the "Add LLM" dialog.

This PR updates the simplified and traditional Chinese locales:

  • addLlmBaseUrl: "基础 Url" → "基础 URL" (繁体: "基礎 Url" → "基礎 URL")
  • baseUrlNameMessage: "请输入基础 Url!" → "请输入基础 URL" (繁体: "請輸入基礎 Url!" → "請輸入基礎 URL")

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 20, 2026
@euvre euvre added the ci Continue Integration label Jul 20, 2026
@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bf4919c4-7607-4186-ac81-396fabc78d05

📥 Commits

Reviewing files that changed from the base of the PR and between 3fa8902 and 3ced193.

📒 Files selected for processing (2)
  • web/src/locales/zh-traditional.ts
  • web/src/locales/zh.ts

📝 Walkthrough

Walkthrough

Updated model-provider base URL labels and validation messages in the Simplified Chinese and Traditional Chinese locale files, changing Url to URL and removing trailing exclamation marks.

Changes

Chinese locale updates

Layer / File(s) Summary
Model-provider URL strings
web/src/locales/zh.ts, web/src/locales/zh-traditional.ts
Updated addLlmBaseUrl and baseUrlNameMessage to use uppercase URL; removed the trailing exclamation mark from the validation messages.

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

Suggested labels: 🐞 bug

Suggested reviewers: wangq8, lynn-inf, magicbook1108

Poem

A rabbit checks the labels bright,
“URL” now hops in sight.
The exclamation marks take flight,
Chinese strings are neat and right.
Nibble, merge, good night!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the locale string cleanup in the Chinese base URL messages.
Description check ✅ Passed The description matches the required Summary template and explains the change with enough context and specifics.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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

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

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants