Use the app's Spanish names for the Device lab on the site
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 90/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
从 apps/site/test/locales.test.ts 开始,将 packages/copy/locales/es-419.json 中应用的西班牙语字符串与 apps/site/locales/es-419.json 中网站对应的条目进行比较。添加所要求的一致性和措辞检查,然后更新指定的西班牙语值,同时保留原意和 tú 形式。运行 pnpm --filter @hermit/site test;测试通过且英文 locale 未改变即为完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 11
- 派生
- 0
- 平均合并
- 10 分钟
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DojoCodingLabs/hermit 的其他 Issue
-
docs good first issue
难度 2/5 1-3 小时 新手友好度 87/100
DojoCodingLabs/hermit#73 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 70/100
DojoCodingLabs/hermit#45 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 62/100
DojoCodingLabs/hermit#44 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 72/100
DojoCodingLabs/hermit#43 ·
维护者通常 1 天内回复
-
agent-friendly docs good first issue
难度 2/5 1-3 小时 新手友好度 88/100
DojoCodingLabs/hermit#39 ·
维护者通常 1 天内回复
查看 DojoCodingLabs/hermit 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
superlinked/sie#1033 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
remix-run/react-router#15838 ·
维护者通常 1 天内回复
-
area/ci bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
melgarafael/DeskcommCRM#5290 ·
维护者通常 1 天内回复