Skip to content

fix(i18n): fix duplicate word in Polish translation#1015

Merged
danielroe merged 1 commit intonpmx-dev:mainfrom
wojtekmaj:fix-pl
Feb 5, 2026
Merged

fix(i18n): fix duplicate word in Polish translation#1015
danielroe merged 1 commit intonpmx-dev:mainfrom
wojtekmaj:fix-pl

Conversation

@wojtekmaj
Copy link
Contributor

Before:

image

After:
image

Copilot AI review requested due to automatic review settings February 5, 2026 10:49
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 5, 2026 10:51am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 5, 2026 10:51am
npmx-lunaria Ignored Ignored Feb 5, 2026 10:51am

Request Review

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
lunaria/files/pl-PL.json Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a duplicate word issue in the Polish translation where "Społeczność" (community) was appearing twice - once hardcoded and once through the {community} placeholder. The fix removes the hardcoded word and capitalizes the placeholder value to maintain proper sentence structure.

Changes:

  • Removed hardcoded "Społeczność" prefix from "simple" and "documented" translation strings
  • Capitalized the "community" placeholder value from "społeczność" to "Społeczność"

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lunaria/files/pl-PL.json Fixed duplicate "Społeczność" word by removing hardcoded prefix and capitalizing the placeholder value
i18n/locales/pl-PL.json Fixed duplicate "Społeczność" word by removing hardcoded prefix and capitalizing the placeholder value

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 5, 2026

📝 Walkthrough

Walkthrough

Polish translation files have been updated across two locations to refactor how community references are handled. The hardcoded "Społeczność" prefix has been removed from package replacement messages, allowing the dynamic {community} placeholder to be used independently. Additionally, the community label itself has been capitalised from lowercase to uppercase. These changes apply consistently across both simple and documented replacement message variants.

Suggested reviewers

  • danielroe
🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description clearly relates to the changeset by showing before/after images demonstrating the Polish translation fix for removing duplicate words.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@danielroe danielroe added this pull request to the merge queue Feb 5, 2026
Merged via the queue into npmx-dev:main with commit 508505a Feb 5, 2026
21 of 22 checks passed
@wojtekmaj wojtekmaj deleted the fix-pl branch February 5, 2026 12: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