Skip to content

fix: use descriptive subtitle for community contributions card - #257

Merged
O2sa merged 1 commit into
O2sa:mainfrom
lb1192176991-lab:fix/community-desc
Oct 20, 2026
Merged

O2sa merged 1 commit into
O2sa:mainfrom
lb1192176991-lab:fix/community-desc

Conversation

@lb1192176991-lab

Copy link
Copy Markdown
Contributor

Fixes #256

What

The "Community Contributions" card subtitle rendered the single word comments (تعليقات in Arabic) because it used the community.comments translation key. This adds a proper community.desc key in English and Arabic and points the card description at it, so it reads like the repository and pull-request cards.

Why

Showing the bare word "comments" as a card subtitle is a translation-key mistake and looks unfinished. The card should describe what it shows — the most impactful public issues and discussions.

Testing

  • Added community.desc to src/locales/en.json and src/locales/ar.json; node scripts/validate-locales.js passes (both locales have identical key sets).
  • Both JSON files re-parse cleanly.
  • The only remaining community.comments usage is src/components/cards/community-card-item.tsx, which is a per-item "comments" label and intentionally unchanged.

Additionally, at the time of submission of this PR:

  • The referred issue is not blocked currently
  • All unittests passed after changes were made

@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

@lb1192176991-lab is attempting to deploy a commit to the osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
dev-impact Ready Ready Preview Oct 20, 2026 7:18pm UTC

@O2sa
O2sa merged commit 48e5ac4 into O2sa:main Oct 20, 2026
4 checks passed
@O2sa

O2sa commented Oct 20, 2026

Copy link
Copy Markdown
Owner

🎊 Welcome, @lb1192176991-lab! Your first contribution has been merged! 🚀

Thank you for helping improve the project! If you find this tool useful, please consider giving us a ⭐ star on GitHub—it helps more developers find our work and motivates us to keep improving!

This branch was successfully deployed

1 active deployment
Preview — 6188de8f Deployed Oct 20, 2026 by vercel[bot]
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.

bug: Community Contributions card description displays the single word 'comments'

2 participants