Skip to content

fix(editor): Better pluralization for versions in UpdatesPanel#2076

Closed
everettbu wants to merge 1 commit into
masterfrom
i18n/version-plural
Closed

fix(editor): Better pluralization for versions in UpdatesPanel#2076
everettbu wants to merge 1 commit into
masterfrom
i18n/version-plural

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of n8n-io/n8n#20810
Original author: ByteEVM


Summary

Based on the current Addendum and other files following this approach, I've enhanced pluralization in the versions-behind count.

Languages with different plurals (not just an s) can apply i18n transforms now.

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Note

Switch UpdatesPanel to count-based i18n pluralization for “versions behind” and update the component to pass count.

  • Editor UI:
    • Pluralization update in UpdatesPanel:
      • i18n: Replace updatesPanel.version with count-based plural form ("{count} version | {count} versions") in packages/frontend/@n8n/i18n/src/locales/en.json.
      • Component: Update packages/frontend/editor-ui/src/app/components/UpdatesPanel.vue to interpolate { count: versionsStore.nextVersions.length } instead of manual suffix logic.

Written by Cursor Bugbot for commit fd693f9. This will update automatically on new commits. Configure here.

@everettbu everettbu added community Authored by a community member in linear Issue or PR has been created in Linear for internal review labels Feb 23, 2026
@everettbu

Copy link
Copy Markdown
Author

Upstream PR was closed or merged. Code is synced via branch mirror.

@everettbu everettbu closed this Feb 24, 2026
@everettbu
everettbu deleted the i18n/version-plural branch February 24, 2026 00:05
@everettbu
everettbu restored the i18n/version-plural branch February 24, 2026 02:16
@everettbu
everettbu deleted the i18n/version-plural branch February 24, 2026 07:06
@everettbu
everettbu restored the i18n/version-plural branch February 24, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Authored by a community member in linear Issue or PR has been created in Linear for internal review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants