Skip to content

fix(i18n): add missing Polish plural form for epic.label - #9851

Merged
vihar merged 1 commit into
makeplane:previewfrom
OSM-Piatnica:fix/pl-epic-plural-form
Sep 17, 2026
Merged

vihar merged 1 commit into
makeplane:previewfrom
OSM-Piatnica:fix/pl-epic-plural-form

Conversation

@Pawel-Kranzberg

@Pawel-Kranzberg Pawel-Kranzberg commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Polish (pl) requires three plural forms — one, few, and other — but work-item.json's epic.label only declared one/other: "{count, plural, one {Epic} other {Epics}}" → "{count, plural, one {Epik} other {Epiki}}".
  • Because Polish's few category (2–4, excluding 12–14) wasn't declared, those counts fell through to other, which happened to read correctly by coincidence ("2 Epiki" is right). But counts of 5+ also fell through to that same other bucket, which should instead use the genitive plural — so "5 Epiki" rendered where "5 Epików" is correct.
  • Adds the missing few form and fixes other to 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

  • Valid JSON (parses cleanly)
  • npx tsx packages/i18n/scripts/sync-check.ts — pl still at 100% key coverage (3,842/3,842), no missing/stale keys, no collisions
  • npx oxfmt --check on the changed file reports no issues
  • Manual UI verification of the count-based rendering (not done as part of this change; the ICU MessageFormat plural categories one/few/other are standard Polish CLDR rules)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Localization
    • Updated the Polish translation for the plural form of “epic” to provide the appropriate wording for small quantities.

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>
@coldtea-pr-lens

coldtea-pr-lens Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

◈ PR Lens

🟢 +0 new · 🟠 ~1 changed · 🔴 -0 removed · 0 flows · 1 file · commit 4dd1b70


Architecture

Architecture diagram for makeplane/plane at 4dd1b70

1 component touched across 1 lane.

Open the interactive canvas


Data flow

No data-flow sequence changed in this PR.


View

  • Architecture lens
  • Data flow lens
  • Expand every detail

Tip

Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists.

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Untick Architecture lens or Data flow lens under View to hide a diagram, or tick Expand every detail to open every section. The comment redraws in a few seconds.
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through.
  • The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change.
  • Open a diagram on the canvas, then press W or click play to walk through the change one step at a time.
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time.
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture and data flow row. Drawing still runs on every push.
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works.
  • Push a commit and the comment redraws for the new head. A slow older run never overwrites a newer one.
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion.

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.

❤️ Share

@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: d9662131-9049-4eeb-bc73-32689402b3c3

📥 Commits

Reviewing files that changed from the base of the PR and between d8dc816 and 4dd1b70.

📒 Files selected for processing (1)
  • packages/i18n/src/locales/pl/work-item.json

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The Polish epic.label translation now includes a dedicated few plural category with the value “Epiki”.

Changes

Polish localization

Layer / File(s) Summary
Epic label plural categories
packages/i18n/src/locales/pl/work-item.json
Adds the few category to epic.label with the value “Epiki” and updates the other category to “Epików”.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Suggested reviewers: codingwolf-at

Merge Risk: ⚪ Minimal · up to 4dd1b

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)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding the missing Polish plural form for epic.label.
Description check ✅ Passed The description explains the translation issue, the corrected plural forms, impact, reference, and validation steps. It does not follow the exact template headings and does not select a Type of Change…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

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

Comment @coderabbitai help to get the list of available commands.

@CLAassistant

CLAassistant commented Sep 17, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@vihar vihar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@vihar
vihar merged commit f9ced58 into makeplane:preview Sep 17, 2026
3 checks passed
@Pawel-Kranzberg
Pawel-Kranzberg deleted the fix/pl-epic-plural-form branch September 29, 2026 15:49
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.

3 participants