Repository navigation
fix(catalog): pick Home row wording for the exact number of rows or libraries - #156
Open
Tobechukwu-Njoku wants to merge 3 commits into
Open
Tobechukwu-Njoku wants to merge 3 commits into
Tobechukwu-Njoku wants to merge 3 commits into
Conversation
…ibraries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Caution Review failedAn error occurred during the review process. Please try again later.
|
4 tasks done
Contributor
Author
|
Could a maintainer run |
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 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Two web-only Home row messages choose singular or plural wording with
{count, plural, …}but never print the number. CLDR'sonecategory 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.exactlyTwokeeps 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 cipasses.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, andmake cipasses. Each language moves frompluraloncountto the sameselectonamount; the Russian, Ukrainian and Slovenian forms were read against the English branches.Note
Fix Home row wording to use plural forms for exact row or library counts
Updates the
en.arblocalization entries so the Home row label picks the correct singular or plural wording for the exact number of rows or libraries.Macroscope summarized 054b6aa.