Use the app's Spanish names for the Device lab on the site
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 90/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- internationalization
Research direction
Start with apps/site/test/locales.test.ts and compare the app's Spanish strings in packages/copy/locales/es-419.json with the corresponding site entries in apps/site/locales/es-419.json. Add the requested equality and wording checks, then update the specified Spanish values while preserving meaning and the tú form. Run pnpm --filter @hermit/site test; done means the tests pass and the English locale is unchanged.
Written by the indexing model from the issue text.
Description
Why
In Spanish the app calls the Device lab "Laboratorio del teléfono" and its report an "informe", while the site says "laboratorio de dispositivos" and "reporte", so a visitor won't find on the phone the name the site gave them. VISION.md, principle 5: Spanish and English, first-class.
What to do
Today the app's words are HM-SET-10.title ("Laboratorio del teléfono") and HM-SET-10.reportTitle ("Tu informe") in packages/copy/locales/es-419.json. The site's are in apps/site/locales/es-419.json: HM-SITE-01.labKicker, labBody, labStep2Title, labStep2Body and getBody.
- Test first, in
apps/site/test/locales.test.ts:- the site's
HM-SITE-01.labKickerequals the app'sHM-SET-10.title, in en and in es-419 (read the app's files frompackages/copy/locales/); - in es-419,
HM-SITE-01.labBody,labStep2Title,labStep2BodyandgetBodynever say "reporte" or "laboratorio de dispositivos".
Watch it fail.
- the site's
- Update those values in
apps/site/locales/es-419.json: "Laboratorio del teléfono" for the lab and "informe" for the report, keeping each sentence's meaning and the tú form. - Leave
common.navLab("Laboratorio") as it is: the header needs a short label. - Leave "reportes de fallas" (crash reports) in
HM-SITE-01.promiseTelemetryBodyandHM-SITE-02.short1alone: that is a different thing.
Done when
- The new tests pass, and
apps/site/locales/en.jsonis unchanged. - The site's Spanish names the lab and its report the way the app does.
How to check
pnpm --filter @hermit/site test
Keep in mind
- Both site locale files keep the same keys and placeholders.
- Plain words, the tú form, no em or en dashes. The site's tests also refuse some brand words and time words such as "pronto".
- Don't change the app's copy in this issue.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 6
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 DojoCodingLabs/hermit
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
DojoCodingLabs/hermit#73 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DojoCodingLabs/hermit#45 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
DojoCodingLabs/hermit#44 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DojoCodingLabs/hermit#43 ·
Maintainers usually reply within 1 day
-
agent-friendly docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
DojoCodingLabs/hermit#39 ·
Maintainers usually reply within 1 day
All issues in DojoCodingLabs/hermit
Similar issues
-
bug zoo
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/runntime#151 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
sidebandstudio/clawtrate#728 ·
Maintainers usually reply within 1 day
-
enhancement github_actions help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainers usually reply within 1 day
-
bug tooling
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
endora-commerce/endora-commerce#1978 ·
Maintainers usually reply within 1 day