Skip to content

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

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

wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/base-url-locale-casing-all-locales

Conversation

@euvre

@euvre euvre commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #17110, which fixed the same issue in the Chinese locales.

The base URL field in the "Add LLM" dialog had two i18n issues across the remaining locales:

  • Lowercase "url" in addLlmBaseUrl / baseUrlNameMessage for en, bg, tr, id, ru — capitalized to "URL".
  • Trailing exclamation mark in baseUrlNameMessage (also used as the input placeholder) for en, bg, tr, id, ru, fr, ja, de, vi, it, es, ar, pt-br — removed. For Spanish, the paired leading ¡ was removed together with the trailing !.

The ko locale already used uppercase "URL" without an exclamation mark and is unchanged.

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. 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: f6a2a871-ec90-4833-87e0-bf8b5e950a89

📥 Commits

Reviewing files that changed from the base of the PR and between 0e3a579 and fab5899.

📒 Files selected for processing (13)
  • web/src/locales/ar.ts
  • web/src/locales/bg.ts
  • web/src/locales/de.ts
  • web/src/locales/en.ts
  • web/src/locales/es.ts
  • web/src/locales/fr.ts
  • web/src/locales/id.ts
  • web/src/locales/it.ts
  • web/src/locales/ja.ts
  • web/src/locales/pt-br.ts
  • web/src/locales/ru.ts
  • web/src/locales/tr.ts
  • web/src/locales/vi.ts

📝 Walkthrough

Walkthrough

Changes

Base URL locale updates

Layer / File(s) Summary
Localized base URL wording
web/src/locales/*.ts
Updated LLM base URL labels and messages across Arabic, Bulgarian, German, English, Spanish, French, Indonesian, Italian, Japanese, Brazilian Portuguese, Russian, Turkish, and Vietnamese locales. Changes standardize URL capitalization and remove selected exclamation marks; Indonesian knowledgeGraph text formatting was also adjusted.

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

Suggested labels: 🐞 bug

Poem

A rabbit found URLs in a row,
And polished their letters to glow.
The exclamation marks took flight,
While translations grew tidy and bright.
Hop, hop—clean strings now flow!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the locale-string cleanup: capitalizing URL and removing exclamation marks.
Description check ✅ Passed The description includes summary and background context, plus the affected locales and the Korean exception.
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.

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


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.

@euvre euvre added the ci Continue Integration label Jul 20, 2026
@wangq8
wangq8 merged commit bc8bb9c into infiniflow:main Jul 20, 2026
6 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:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants