Skip to content

fix(catalog): pick Home row wording for the exact number of rows or libraries - #156

Open
Tobechukwu-Njoku wants to merge 3 commits into
Silo-Server:mainfrom
Tobechukwu-Njoku:fix/home-rows-exact-amount
Open

Tobechukwu-Njoku wants to merge 3 commits into
Silo-Server:mainfrom
Tobechukwu-Njoku:fix/home-rows-exact-amount

Conversation

@Tobechukwu-Njoku

@Tobechukwu-Njoku Tobechukwu-Njoku commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Two web-only Home row messages choose singular or plural wording with {count, plural, …} but never print the number. CLDR's one category covers 21, 31 and 101 in Russian, Ukrainian, Croatian, Lithuanian and Latvian, and 101 and 201 in Slovenian, so these messages read as singular for those counts:

  • web.home.rows.deleteMany.description: "The row goes away…" when 21 rows are picked.
  • web.home.addRow.rules.sentenceNamed: "from the Movies, 4K, … library" when 21 libraries are picked.

Part of Silo-Server/silo-server#4743.

Solution

Both messages now use {amount, select, exactlyOne {…} exactlyTwo {…} other {…}} with a String {amount} the web code sets from the exact count, the convention from #135. exactlyTwo keeps the dual for Slovenian and Arabic. English is unchanged.

The silo-server change that sets {amount} merges after this one and re-pins to its release. The translation pass for these two keys follows as a separate commit (make translate-pr).

make ci passes.

Translations

87e1f7e carries the translation pass for both keys (node tools/translate.ts --locale all, Claude Opus 5.5). All 38 languages have both keys, none left untranslated, and make ci passes. Each language moves from plural on count to the same select on amount; the Russian, Ukrainian and Slovenian forms were read against the English branches.

Language Written Failed
es, de, fr, pt-BR, nl, it, pl, tr, sv, da, nb, fi, cs, hr, ru, uk, ja, ko, zh-Hans, zh-Hant, ar, hu, ro, sk, sl, bg, el, ca, lt, lv, et, vi, pt-PT, id, ms, he, hi, th 2 each 0

Note

Fix Home row wording to use plural forms for exact row or library counts

Updates the en.arb localization entries so the Home row label picks the correct singular or plural wording for the exact number of rows or libraries.

Macroscope summarized 054b6aa.

…ibraries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 23, 2026
@Tobechukwu-Njoku

Copy link
Copy Markdown
Contributor Author

Could a maintainer run make translate-pr PR=156 for the two changed keys? The silo-server change that uses them is linked from #4743.

@silo-triage silo-triage Bot added the bug Something isn't working label Nov 23, 2026
@silo-triage silo-triage Bot added size/L 200–499 added + deleted lines (all files); change volume, not priority. and removed size/S 0–49 added + deleted lines (all files); change volume, not priority. labels Dec 4, 2026
Quick104 added a commit to Tobechukwu-Njoku/silo-server that referenced this pull request Dec 4, 2026
Generated from Silo-Server/silo-translations#156 with
scripts/sync-translations --local, so both messages keep their
translations in every language. Re-pin with --version once Silo-Server#156
is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Quick104 added a commit to Tobechukwu-Njoku/silo-server that referenced this pull request Dec 4, 2026
Generated with scripts/sync-translations --local from
Silo-Server/silo-translations#156 merged onto silo-translations main,
so both messages keep their translations in every language and main's
newer keys stay. Re-pin with --version once Silo-Server#156 is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size/L 200–499 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants