Skip to content

fix: Correct 'comparsion' spelling typo in locale dictionaries and UI components #228

Closed

Description

@O2sa

The word 'comparison' is misspelled as 'comparsion' across 11 translation keys in src/locales/en.json and src/locales/ar.json and referenced in multiple components.

Motivation

Fixing spelling errors in public-facing keys and dictionaries improves code hygiene and translation consistency throughout the project.

Tasks

  • Update comparsion.* keys to comparison.* in src/locales/en.json and src/locales/ar.json:
    • comparison.activity.score
    • comparison.contribution.diff
    • comparison.contribution.score
    • comparison.diff
    • comparison.final.score
    • comparison.language.final.score
    • comparison.pr.diff
    • comparison.pr.score
    • comparison.repo.diff
    • comparison.repo.score
    • comparison.score
  • Update all calling components referencing comparsion.*:
    • src/features/leaderboard/components/leaderboard-table.tsx
    • src/features/comparison/components/comparison-chart.tsx
    • src/features/comparison/components/comparison-table.tsx
    • src/features/comparison/components/result-dashboard.tsx
    • src/features/developer/components/user-profile-client.tsx
    • src/components/cards/community-card-item.tsx
    • src/components/cards/pr-card-item.tsx
    • src/components/cards/repo-card-item.tsx
  • Run pnpm validate-locales to ensure key parity.
  • Run pnpm test to verify no broken tests.

Tip

🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions