Skip to content

fix(web): capitalize localized language names - #119

Merged
dibenkobit merged 1 commit into
mainfrom
fix/ru-language-capitalization
Sep 9, 2026
Merged

dibenkobit merged 1 commit into
mainfrom
fix/ru-language-capitalization

Conversation

@dibenkobit

@dibenkobit dibenkobit commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

What changed

Language labels now start with an uppercase letter across tables, selectors, language/model pages, releases, and the run builder. Shared formatting also covers native names and preserves unknown language tags.

Why

Intl.DisplayNames returns lowercase Russian names, causing inconsistent presentation next to English labels.

Verification

  • Passed pnpm format:check, pnpm lint, pnpm --filter @llang-gap/web typecheck, and pnpm --filter @llang-gap/web build.
  • Passed focused language-label, language-catalog, and leaderboard-column tests: 24 tests.
  • Browser checked /en/languages/ru and /ru/languages/ru at 1440×1000; inspected matching screenshots before and after.

UI changes

EN before

EN after

RU before

RU after

Checklist

  • This PR addresses one concern, and I reviewed the diff.
  • I explained the problem, the change, and the verification results.
  • I updated affected documentation and regression coverage, where applicable.
  • I attached UI evidence and checked the required language(s), where applicable.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
langgap-web Ready Ready Preview Sep 9, 2026 12:15am UTC

Request Review

@dibenkobit
dibenkobit merged commit 822b519 into main Sep 9, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — fdef519c Deployed Sep 9, 2026 by vercel[bot]
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