[good first issue] Replace remaining hardcoded zh/en strings with i18n keys
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend, internationalization
Hướng nghiên cứu
Start in desktop/src/i18n/ to see how the t('namespace.key') keys and the zh/en locale JSON files are organised, then grep desktop/src/components/settings/ and desktop/src/pages/ for Chinese characters and long English literals inside JSX. Done when each literal is replaced by a key present in both the zh and en locale files and the UI renders the same text in both languages. The optional CI grep for new Chinese characters in .tsx files is not required for completion.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Background
DreamCoder ships with full zh/en bilingual support via desktop/src/i18n/. However, a handful of hardcoded Chinese / long English strings still live inside components (especially under desktop/src/components/settings/ and a few page-level files). Migrating them is a great first task to learn the codebase.
ProviderOnboarding was already migrated in #59 — use it as a reference.
Tasks
- Grep
desktop/src/for Chinese characters and long English literal strings inside JSX - Pick a key name that follows the existing flat naming (e.g.
settings.general.xxx,common.xxx) - Add the new keys to both
desktop/src/i18n/locales/en.tsanddesktop/src/i18n/locales/zh.ts - Replace the literal with
t('your.key'), wheretcomes fromuseTranslation()indesktop/src/i18n - (Bonus) Add a tiny lint rule or CI grep that fails when new Chinese characters appear in
.tsx
Files of interest
desktop/src/i18n/desktop/src/components/settings/**desktop/src/pages/**
Difficulty / Estimate
⭐ — 1 to 2 hours.
Mentor
Ping the maintainer in the PR — happy to help reviewers / pair on tricky strings.
- Ngôn ngữ chính
- TypeScript
- Star
- 490
- Fork
- 47
- Merge trung bình
- 9 giờ 31 phút
- Pull request đã merge (30 ngày)
- 76
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GoDiao/dreamcoder
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
GoDiao/dreamcoder#198 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Agent teams: in-process teammates never claim tasks from the team's task listCó thể đã có người làm @Sagar07Kr đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
GoDiao/dreamcoder#163 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[good first issue] UX polish — friendlier copy for error toasts and empty statesCó thể đã có người làm @iamcipherdev đã nhận 13 ngày trước. Đang mởarea:i18n area:ux difficulty:1 good first issue mentor-available
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
GoDiao/dreamcoder#9 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add more provider presets (Groq / OpenRouter / SiliconFlow / etc.)Có thể làm lại được @01iamysf đã nhận 20 ngày trước và không có pull request nào đang mở. Đang mởarea:desktop area:provider difficulty:1 good first issue mentor-available
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
GoDiao/dreamcoder#6 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
GoDiao/dreamcoder#202 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GoDiao/dreamcoder
Issue tương tự
-
area:plugins area:security area:skills bug has repro
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
anthropics/claude-code#105911 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifactsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Fission-AI/OpenSpec#2165 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐞 bug 🧐 unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Tencent/tdesign-vue-next#7032 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
gnosis/gnosis_vpn#661 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)Đang mởtriage:bug-verified
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày