[good first issue] Replace remaining hardcoded zh/en strings with i18n keys
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- frontend, internationalization
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 490
- Fork
- 47
- Merge medio
- 9h 38m
- PR unite (30g)
- 75
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GoDiao/dreamcoder
-
Agent teams: in-process teammates never claim tasks from the team's task listForse già presa @Sagar07Kr l’ha presa 5 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
GoDiao/dreamcoder#163 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[good first issue] UX polish — friendlier copy for error toasts and empty statesForse già presa @iamcipherdev l’ha presa 12 giorni fa. Apertaarea:i18n area:ux difficulty:1 good first issue mentor-available
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
GoDiao/dreamcoder#9 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Add more provider presets (Groq / OpenRouter / SiliconFlow / etc.)Forse di nuovo libera @01iamysf l’ha presa 19 giorni fa e non c’è nessuna pull request aperta. Apertaarea:desktop area:provider difficulty:1 good first issue mentor-available
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
GoDiao/dreamcoder#6 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
area:desktop bug difficulty:2 good first issue help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
GoDiao/dreamcoder#195 ·
I maintainer di solito rispondono entro 1 giorno
-
Move desktop UI components to shadcn/ui (Radix) and Pierre DiffsForse già presa @GoDiao l’ha presa 1 giorno fa. Apertaarea:desktop area:ux enhancement
GoDiao/dreamcoder#191 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di GoDiao/dreamcoder
Issue simili
-
[Bug]: Payment providers removed from config are never disabled in payment_providerForse già presa @medusa-os-bot l’ha presa oggi. Apertatype: bug
Difficoltà 2/5 Mezza giornata Idoneità per principianti 82/100
medusajs/medusa#17544 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
software-mansion/argent#1651 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
lane:reliability
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno