Skip to content

fix: use Cyrillic ӑ in the Chuvash native name - #194

Open
bardrop wants to merge 1 commit into
annexare:mainfrom
bardrop-oss:fix/chuvash-native-name
Open

bardrop wants to merge 1 commit into
annexare:mainfrom
bardrop-oss:fix/chuvash-native-name

Conversation

@bardrop

@bardrop bardrop commented Nov 20, 2026 •

Copy link
Copy Markdown

Closes #193

The Chuvash native name used the Latin ă (U+0103). It is now the Cyrillic ӑ (U+04D1), so languages.cv.native is 'Чӑваш'.

A test in packages/test-js/index.test.ts checks that no native country or language name mixes Latin, Cyrillic, or Greek letters in one word. It fails before the change (Чăваш) and passes after; bun run ci is green. No dist/ changes.

Data changes verified with: CLDR cv.xml (language name чӑваш чӗлхи, with ӑ U+04D1: https://github.com/unicode-org/cldr/blob/main/common/main/cv.xml) and https://cv.wikipedia.org/wiki/Чӑваш_чӗлхи

Fixes annexare#193. The native name used the Latin ă (U+0103). Chuvash Cyrillic
writes ӑ (U+04D1). A test now checks that no native country or language
name mixes Latin, Cyrillic, or Greek letters in one word.
@bardrop
bardrop requested a review from dmythro as a code owner November 20, 2026 05:46
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The cv language entry changes its native spelling from Чăваш to Чӑваш. A new test checks that words in native country and language names do not mix letters from the Latin, Cyrillic, and Greek scripts.

Change: Bug fix · Severity of issue fixed: Low

Merge Risk: Minimal · up to d2a71

This corrects the Chuvash native language name to use the proper Cyrillic letter and adds a test to catch mixed-script spellings. The merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Chuvash native name now uses Cyrillic ӑ instead of Latin ă. The raw summary confirms the only data change in languages.ts is this spelling fix, and the test additi…
Linked Issues check Passed Issue #193 has one coding requirement: change the Chuvash native name from Latin-containing 'Чăваш' to Cyrillic 'Чӑваш' and add a test that catches mixed-script words. At the reviewed head, packages/c…
Out of Scope Changes check Passed The PR changes two files. languages.ts changes only the Chuvash native string, which is the subject of #193. index.test.ts adds only the mixed-script test, which supports #193. The PR description stat…
Description check Passed The description follows the repository template in substance. It states the issue link (Closes #193), explains the data change (Latin ă U+0103 replaced by Cyrillic ӑ U+04D1, so languages.cv.native is …
Full details: Title check

Explanation

The title names the main change: the Chuvash native name now uses Cyrillic ӑ instead of Latin ă. The raw summary confirms the only data change in languages.ts is this spelling fix, and the test addition is secondary. The title is specific and accurate.

Full details: Linked Issues check

Explanation

Issue #193 has one coding requirement: change the Chuvash native name from Latin-containing 'Чăваш' to Cyrillic 'Чӑваш' and add a test that catches mixed-script words. At the reviewed head, packages/countries/src/data/languages.ts sets cv.native to 'Чӑваш' (the raw summary states the change is +1/-1 from 'Чăваш'). The test 'native names should not mix Latin, Cyrillic, or Greek letters in one word' in packages/test-js/index.test.ts scans country and language native names for words that match more than one of the Latin, Cyrillic, or Greek scripts, and asserts an empty result. Both parts of #193 are implemented. Limit: the diff tool was unavailable, so the code point of the 'ӑ' character was confirmed from the file text, not from the byte values. The test pass result in CI was not independently run.

Full details: Out of Scope Changes check

Explanation

The PR changes two files. languages.ts changes only the Chuvash native string, which is the subject of #193. index.test.ts adds only the mixed-script test, which supports #193. The PR description states that no dist/ files change. No unrelated changes were identified in the reviewed evidence. The diff tool was unavailable, so the complete changed-file list was taken from the supplied summary.

Full details: Description check

Explanation

The description follows the repository template in substance. It states the issue link (Closes #193), explains the data change (Latin ă U+0103 replaced by Cyrillic ӑ U+04D1, so languages.cv.native is 'Чӑваш'), describes the new test and its before/after behavior, reports that bun run ci is green and that no dist/ files changed, and lists verification sources (CLDR cv.xml and the Chuvash Wikipedia article). The template's checklist items for data-only changes under /data/ and bun.lock are not addressed explicitly, but the change touches packages/countries/src/data/languages.ts and no package.json update is involved, so these items are not critical to the outcome.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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 reads the name aloud,
Finds Cyrillic in the crowd.
One small mark now sits just right,
Script checks watch each word in sight.
I twitch my nose and hop with cheer!

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 362c7f87-ddc7-4ab3-b5e6-4e6a88c3e423
Commits

Reviewing files that changed from the base of the PR and between f7857a8 and d2a71c6.

Files selected for processing: 2

  • packages/countries/src/data/languages.ts
  • packages/test-js/index.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

This branch has not been deployed

No deployments
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.

Chuvash native name uses the Latin ă instead of the Cyrillic ӑ

1 participant