Use the app's Spanish names for the Device lab on the site
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 90/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- internationalization
Direção de pesquisa
Comece por apps/site/test/locales.test.ts e compare as strings em espanhol do app em packages/copy/locales/es-419.json com as entradas correspondentes do site em apps/site/locales/es-419.json. Adicione as verificações solicitadas de igualdade e redação e, em seguida, atualize os valores especificados em espanhol, preservando o significado e o uso de tú. Execute pnpm --filter @hermit/site test; o trabalho estará concluído quando os testes passarem e a locale em inglês permanecer inalterada.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 11
- Forks
- 0
- Merge médio
- 10min
- PRs com merge (30d)
- 6
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de DojoCodingLabs/hermit
-
docs good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 87/100
DojoCodingLabs/hermit#73 ·
Mantenedores costumam responder em até 1 dia
-
device-lab
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
DojoCodingLabs/hermit#45 ·
Mantenedores costumam responder em até 1 dia
-
device-lab
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
DojoCodingLabs/hermit#44 ·
Mantenedores costumam responder em até 1 dia
-
device-lab
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
DojoCodingLabs/hermit#43 ·
Mantenedores costumam responder em até 1 dia
-
agent-friendly docs good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
DojoCodingLabs/hermit#39 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de DojoCodingLabs/hermit
Issues semelhantes
-
bug zoo
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
software-mansion/runntime#151 ·
Mantenedores costumam responder em até 4 dias
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 86/100
sidebandstudio/clawtrate#728 ·
Mantenedores costumam responder em até 1 dia
-
enhancement github_actions help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
tranquilo-art/tranquilo-app#254 ·
Mantenedores costumam responder em até 1 dia
-
documentation good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Mantenedores costumam responder em até 1 dia
-
bug tooling
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
endora-commerce/endora-commerce#1978 ·
Mantenedores costumam responder em até 1 dia