Skip to content

fix(i18n): translate missing pt-PT strings for leaderboard and likes#2682

Open
joaopalmeiro wants to merge 1 commit intonpmx-dev:mainfrom
joaopalmeiro:fix/update-pt-pt
Open

fix(i18n): translate missing pt-PT strings for leaderboard and likes#2682
joaopalmeiro wants to merge 1 commit intonpmx-dev:mainfrom
joaopalmeiro:fix/update-pt-pt

Conversation

@joaopalmeiro
Copy link
Copy Markdown
Contributor

Hi! 👋

🧭 Context

There are 10 strings missing from the European Portuguese (pt-PT) translation:

=== Missing keys for pt-PT.json (with --fix) ===
Reference: en.json (1298 keys)

Added 10 missing key(s) with EN placeholder:
  - common.per_week_short
  - package.likes.top_rank_tooltip
  - package.likes.top_rank_label
  - package.likes.top_rank_link_label
  - leaderboard.likes.title
  - leaderboard.likes.description
  - leaderboard.likes.rank
  - leaderboard.likes.likes
  - leaderboard.likes.unavailable_title
  - leaderboard.likes.unavailable_description

📚 Description

This PR adds pt-PT translations for the 10 missing strings.

Thanks!

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 7, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment May 7, 2026 6:11am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview May 7, 2026 6:11am
npmx-lunaria Ignored Ignored May 7, 2026 6:11am

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 7, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

This pull request adds Portuguese (Portugal) locale strings for a likes leaderboard feature. The changes introduce a shortened per-week abbreviation, extend package-level likes labels for ranking display, and add a new top-level leaderboard section with page titles and unavailable state messaging.

Changes

Portuguese Locale Likes Leaderboard

Layer / File(s) Summary
Common Abbreviations
i18n/locales/pt-PT.json
Adds common.per_week_short with the shortened "/sem" variant for weekly time periods.
Package Likes Leaderboard Labels
i18n/locales/pt-PT.json
Extends package.likes with top_rank_tooltip, top_rank_label, and top_rank_link_label strings for leaderboard ranking indicators.
Leaderboard UI Section
i18n/locales/pt-PT.json
Introduces new leaderboard.likes object with title, description, likes count label, and unavailable state messaging.

Possibly related PRs

Suggested reviewers

  • graphieros
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description is directly related to the changeset, providing context about the 10 missing translation keys and explaining why they are being added.
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.
Title check ✅ Passed The pull request title accurately describes the main change: adding missing Portuguese (pt-PT) translations for leaderboard and likes features.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 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
i18n/locales/pt-PT.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.

@joaopalmeiro joaopalmeiro changed the title fix(i18n): add the missing pt-PT translations for the leaderboard and likes fix(i18n): translate missing pt-PT strings for leaderboard and likes May 7, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 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!

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.

1 participant