feat(locale): add Portuguese (pt) locale
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 78/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Read src/locales/types.ts and use src/locales/es.ts or de.ts as a template for src/locales/pt.ts; then register the locale in src/locales/index.ts. Add locale tests under tests/locales/ and run npm run test:coverage, which should retain 100% coverage. Update the locale list and count in the Locales section and other mentions in README.md, plus docs/docs.html; done means Portuguese is registered, tested, and documented.
由索引模型根据 Issue 内容生成。
描述
ForgeData ships 9 built-in locales (en, bn, hi, ar, ja, fr, de, es, zh). Portuguese is one of the most widely spoken languages and is not covered yet.
What to do
- Add
src/locales/pt.tsexporting aLocaleDataobject (shape:src/locales/types.ts; usesrc/locales/es.tsorde.tsas a template) with realistic Portuguese/Brazilian first names (male/female), last names, job titles, professions, cities, states, countries, company suffixes (e.g.Ltda.,S.A.), catch-phrase words and lorem words. - Register it in
src/locales/index.ts(import, re-export, add tobuiltInLocales). - Add tests (e.g. in
tests/locales/) — coverage must stay at 100% (npm run test:coverage). - Update the locale list in
README.md(Locales section + "9 built-in locales" mentions) anddocs/docs.html.
PR title: feat(locale): add Portuguese (pt) locale. See CONTRIBUTING.md.
Other locales (e.g. it, ko, ru, tr, id) are welcome too — please open a separate issue/PR per locale.
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SahinurDEV/ForgeData 的其他 Issue
-
documentation good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 75/100
SahinurDEV/ForgeData#17 ·
-
enhancement good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 78/100
SahinurDEV/ForgeData#16 ·
-
enhancement good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 82/100
SahinurDEV/ForgeData#15 ·
查看 SahinurDEV/ForgeData 的全部 Issue
相似的 Issue
-
clawsweeper:intake:bug clawsweeper:intake:needs-environment
难度 2/5 1-3 小时 新手友好度 82/100
openclaw/openclaw#212827 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Use one constant for the 10,000-character input limit可能已有人在做 @NginxL 今天认领。 未关闭good first issue refactor
难度 2/5 1-3 小时 新手友好度 78/100
aniru-dh21/snap-validate#51 ·
维护者通常 1 天内回复
-
dependencies effort: small good first issue priority: low
难度 1/5 1-3 小时 新手友好度 88/100
TMHSDigital/screencast-mcp#509 ·
维护者通常 1 天内回复
-
from-review tech-debt testing
难度 2/5 1-3 小时 新手友好度 82/100
blamechris/chroxy#9520 ·
维护者通常 1 天内回复