webv2: localize queue runtime error messages and notification titles
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend, internationalization
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 28.8k
- Fork
- 3.1k
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 156
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
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 invoke-ai/InvokeAI
-
[enhancement]: Bump PyPatchMatch to latestCó thể đã có người làm @dunkeroni đã nhận 9 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
invoke-ai/InvokeAI#9826 · 2 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 2 ngày
-
extract_audio_pcm detects "no audio stream" by matching ffmpeg's stderr text, so a wording change turns silent clips into hard errorsCó thể đã có người làm @wunianze666-netizen đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[bug]: ERNIE-Image Heun scheduler refuses every partial denoise (img2img, inpaint, Canvas)Có thể đã có người làm @horizonbymuneeb đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của invoke-ai/InvokeAI
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
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 75/100
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 85/100
farion1231/cc-switch#8829 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverĐang mởdoc-audit enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
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 85/100