Skip to content

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

Merged
ghostdevv merged 1 commit intonpmx-dev:mainfrom
joaopalmeiro:fix/update-pt-pt
May 8, 2026
Merged

fix(i18n): translate missing pt-PT strings for leaderboard and likes#2682
ghostdevv merged 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
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 31553dcd-1b70-43e5-ad12-14b4c620e29d

📥 Commits

Reviewing files that changed from the base of the PR and between 001d748 and 42c36ce.

📒 Files selected for processing (1)
  • i18n/locales/pt-PT.json

📝 Walkthrough

Summary by CodeRabbit

  • Localization
    • Added Portuguese language translations for likes leaderboard functionality, including titles, descriptions, top rankings tooltip and label text, and unavailable state messages.

Walkthrough

Adds Portuguese (Portugal) locale strings for a likes leaderboard: a shortened per-week label, package-level top-rank labels/tooltips/links, and a new top-level leaderboard.likes section with titles, descriptions and unavailable-state messages.

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 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.
Leaderboard UI Section
i18n/locales/pt-PT.json
Adds leaderboard.likes object: title, description, likes, unavailable_title, and unavailable_description strings.

Possibly related PRs

Suggested reviewers

  • ghostdevv
  • graphieros
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main change: adding missing Portuguese (pt-PT) translations for leaderboard and likes features.
Description check ✅ Passed The description is well-related to the changeset, providing clear context about which specific keys are missing and being added to the pt-PT locale file.
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.

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

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

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!

@ghostdevv
Copy link
Copy Markdown
Contributor

@coderabbitai full review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

✅ Actions performed

Full review triggered.

@ghostdevv ghostdevv added this pull request to the merge queue May 8, 2026
Merged via the queue into npmx-dev:main with commit 8ef7525 May 8, 2026
26 checks passed
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.

2 participants