Operator console: the agent conversations view announces English landmark names and "reply interrupted" on a French console (0.45.0)

Đang mở Phù hợp với người mới
#744 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
85/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Bắt đầu với bốn tệp chế độ xem cuộc trò chuyện bị ảnh hưởng trong src/presentation/islands/admin/agents/ và các bảng tiếng Anh, tiếng Pháp trong src/admin/config/i18n/. Tìm bốn chuỗi được hard-code mô tả trong issue và kiểm tra cách các chuỗi chế độ xem lân cận được bản địa hóa. Hoàn thành khi tên và chú thích cuối trang về các câu trả lời bị gián đoạn xuất hiện bằng tiếng Pháp, giữ nguyên bằng tiếng Anh và kiểm tra tính nhất quán của bảng chuỗi đạt yêu cầu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug:ux-a11y domain:admin source:agent source:ai-drafted status:ready
Sovrium version

0.45.0

Last version that worked

No response

Install channel

Built from source

Database

SQLite

Operating system

macOS

Domain

admin

Kind of bug

ux-a11y

Minimal configuration
The operator console (`/_admin`) of a fresh app with no data, signed in as the only admin, light and dark schemes.
Steps to reproduce
  1. Set the console language to French (Profile › Language).
  2. Open /_admin/agents/<agent> with a conversation, including one whose reply was interrupted.
  3. Inspect the accessible names of the conversation list, the conversation region and the message thread, and read the footnote under the interrupted reply.
Expected behaviour

Every accessible name and visible string in the conversations view follows the console language, like the rest of the view (WCAG 2.1 SC 3.1.2, language of parts).

Actual behaviour

Four strings are hard-coded in English and bypass the view's own strings module: the list's aria-label="Conversations", the region's aria-label="Conversation", the thread's aria-label="Message thread", and the visible footnote reply interrupted. A French screen-reader user hears them in English on every visit.

Logs or error text

No response

Frequency

Every time

Workaround

No response

Acceptance criteria
  1. Given the French console, when the conversations view renders, then the list, region and thread are named in French.
  2. Given an interrupted reply on the French console, then its footnote reads in French.
  3. Given the English console, then the names are unchanged.
  4. The new strings exist in both the English and the French tables.
Affected paths
  • src/presentation/islands/admin/agents/admin-agent-conversations-list.tsx
  • src/presentation/islands/admin/agents/admin-agent-conversations-island.tsx
  • src/presentation/islands/admin/agents/admin-agent-conversations-thread.tsx
  • src/presentation/islands/admin/agents/admin-agent-conversations-turn.tsx
  • src/admin/config/i18n/ (English and French tables)
Verification

Open the view in French and English and read the accessible names with the browser's accessibility tree; the console's string-table parity check stays green.

Out of scope

Heading levels in the same view (separate issue); the language of message contents.

Related issues

#705 (engine-drawn strings in English on a French page).

Validation
  • I ran sovrium validate on my configuration
AI assistance
  • This report was drafted with an AI assistant
Ngôn ngữ chính
TypeScript
Star
4
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sovrium/sovrium

Tất cả issue của sovrium/sovrium

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.