openedx / openedx/frontend-app-learner-record

Help wanted: Extract "Completed" and "Partially Completed" into i18n messages

Open Beginner friendly
#457 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue help wanted
Dominant language
JavaScript
Stars
7
Forks
26
Avg merge
3m
Merged PRs (30d)
1

Description

Problem

In Learner Record, the “Completed” and “Partially Completed” strings for a Program Record are hardcoded. We should extract them so they can be translated .

Reference

https://github.com/openedx/frontend-app-learner-record/blob/8c6832cc27f300cbc0cc7a16895063ffd3352688/src/components/ProgramRecordsList/ProgramRecordsList.jsx#L29

Screenshot
Screenshot 2024-03-20 at 9 35 43 AM
Acceptance criteria:
  • extract hardcoded strings following the implementation of components surrounding it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/components/ProgramRecordsList/ProgramRecordsList.jsx at the referenced lines and inspect the surrounding components for the established internationalization pattern. Replace the hardcoded “Completed” and “Partially Completed” strings using that pattern, then verify both labels are represented as translatable messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.