webv2: localize queue runtime error messages and notification titles
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend, internationalization
Direzione di ricerca
Start with invokeai/frontend/webv2/src/features/queue/runtime.ts, QueueItemDetails.tsx, and workbenchState.ts, then read the review context in #9858 and the locale structure in public/locales/en.json. Trace how runtime errors and run-outcome notifications reach the React views. Done when runtime error messages and notification titles use translation keys while server details remain available as secondary text.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up from the review of #9858.
The webv2 queue runtime (invokeai/frontend/webv2/src/features/queue/runtime.ts) stores failure text as plain strings in the queue item's errorMessage via commands.setStatus({ error }). That text is then shown as-is:
- in
QueueItemDetails.tsx(item.errorMessage) - in the run-outcome notifications in
workbenchState.ts, whose titles are also hard-coded English (e.g.'Invocation failed')
The runtime has no i18n hook outside React, so none of these strings can be translated today. This covers the server-error (5xx) failure from #9858, but also the other runtime error strings.
Possible approach: store a stable error code alongside the raw server detail, e.g. { code: 'server_error', detail }, and have the React views render a localized string from public/locales/en.json, with the server text as secondary detail. The notification titles would move to translation keys the same way.
- Lingua principale
- TypeScript
- Stelle
- 28.8k
- Fork
- 3.1k
- Merge medio
- 3g 2h
- PR unite (30g)
- 136
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
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 invoke-ai/InvokeAI
-
[enhancement]: Bump PyPatchMatch to latestForse già presa @dunkeroni l’ha presa 6 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
invoke-ai/InvokeAI#9826 · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
extract_audio_pcm detects "no audio stream" by matching ffmpeg's stderr text, so a wording change turns silent clips into hard errorsForse già presa @wunianze666-netizen l’ha presa 9 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di invoke-ai/InvokeAI
Issue simili
-
[BUG] rag: sentence content can cross the reported sentence boundariesForse già presa @LJK-ikun l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
platformatic/mcp#361 ·
I maintainer di solito rispondono entro 1 giorno
-
frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Push: sem service worker ou sem VAPID, o interruptor de Notificações fica ligado sem avisar nadaAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melgarafael/DeskcommCRM#3164 ·
I maintainer di solito rispondono entro 1 giorno