Repository navigation
fix(i18n): add missing Polish plural form for epic.label - #9851
Conversation
Polish requires three plural forms (one/few/other), but epic.label
only declared one/other, so all non-singular counts fell back to
the "few" wording. That's correct for 2-4 ("2 Epiki"), but wrong for
5+, which needs the genitive "other" form ("5 Epików", not "5 Epiki").
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
◈ PR Lens
Architecture 1 component touched across 1 lane. Data flow No data-flow sequence changed in this PR. View
Tip Run 🪧 More tips
Thanks for using PR Lens! It's built by Coldtea, free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Polish ChangesPolish localization
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Polish epic label now includes the correct few plural form, with no merge-blocking risk evident. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
vihar
left a comment
There was a problem hiding this comment.
Checked this against the other Polish plurals in the repo and the CLDR rules: few for 2–4 with the genitive in other for 5+ is the same shape every other pl plural uses, and sync-check and oxfmt are clean with the patch applied. Merging, thanks.
One note: this wasn't quite the only exception. The comment count, allowed state transitions, and reviewers strings in pl have the same one/other gap. If you feel like a follow-up, happy to take it.
Summary
pl) requires three plural forms —one,few, andother— butwork-item.json'sepic.labelonly declaredone/other:"{count, plural, one {Epic} other {Epics}}"→"{count, plural, one {Epik} other {Epiki}}".fewcategory (2–4, excluding 12–14) wasn't declared, those counts fell through toother, which happened to read correctly by coincidence ("2 Epiki" is right). But counts of 5+ also fell through to that sameotherbucket, which should instead use the genitive plural — so "5 Epiki" rendered where "5 Epików" is correct.fewform and fixesotherto the genitive:"{count, plural, one {Epik} few {Epiki} other {Epików}}".This mirrors the same fix already made in our fork's translation-coverage PR (OSM-Piatnica/pi-plane#19), submitted upstream since the underlying string is unchanged from the base Plane project. Every other Polish plural string in the repo already uses this one/few/other pattern — this was the one exception.
Test plan
npx tsx packages/i18n/scripts/sync-check.ts—plstill at 100% key coverage (3,842/3,842), no missing/stale keys, no collisionsnpx oxfmt --checkon the changed file reports no issuesone/few/otherare standard Polish CLDR rules)🤖 Generated with Claude Code
Summary by CodeRabbit