🇪🇸 Spanish labels inside the SVG
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- cli, internationalization
Research direction
Read src/render.js to find the SVG label and month strings, then trace how options reach it from bin/commit-horizon.js and scripts/preview.js. Add the en default and es locale through both entry points; done means Spanish labels render with the expected escaping, with tests covering the output.
Written by the indexing model from the issue text.
Description
Add --locale en|es (default en) so the texts in the SVG can be in Spanish: CONTRIBUCIONES CAYENDO · ÚLTIMOS 12 MESES, racha 9d · más larga 12d · mejor 18 oct (61).
Steps
- Move the label strings in
src/render.jsto a smallTEXTS = { en: {...}, es: {...} }object (months included). - Wire the flag in
bin/commit-horizon.jsand?locale=inscripts/preview.js. - Test that
esrenders the Spanish strings and escapes them.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1m
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FelipeBeltranING/commit-horizon
-
accessibility good first issue languages
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
celestial-body enhancement iteration-3 physics
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
good first issue languages
Difficulty 3/5 1-2 days Newbie friendliness 78/100
-
enhancement help wanted iteration-4
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
enhancement iteration-4
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in FelipeBeltranING/commit-horizon
Similar issues
-
Radix number block generates NaN after switching a negative or decimal number to binary, octal or hexPossibly taken @matthewalberto claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mit-cml/appinventor-sources#4246 · 1 comment ·
Maintainers usually reply within 1 day
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 2 days
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100