Operator console: the agent conversations view announces English landmark names and "reply interrupted" on a French console (0.45.0)
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 85/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
從 src/presentation/islands/admin/agents/ 下受影響的四個對話檢視檔案,以及 src/admin/config/i18n/ 中的英文和法文表開始。找出 issue 中描述的四個硬編碼字串,並檢查附近的檢視字串如何進行本地化。完成標準是:名稱和關於遭中斷回覆的註腳以法文顯示、在英文中保持不變,且字串表一致性檢查通過。
由索引模型根據 Issue 內容生成。
描述
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
- Set the console language to French (Profile › Language).
- Open
/_admin/agents/<agent>with a conversation, including one whose reply was interrupted. - 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
- Given the French console, when the conversations view renders, then the list, region and thread are named in French.
- Given an interrupted reply on the French console, then its footnote reads in French.
- Given the English console, then the names are unchanged.
- The new strings exist in both the English and the French tables.
Affected paths
src/presentation/islands/admin/agents/admin-agent-conversations-list.tsxsrc/presentation/islands/admin/agents/admin-agent-conversations-island.tsxsrc/presentation/islands/admin/agents/admin-agent-conversations-thread.tsxsrc/presentation/islands/admin/agents/admin-agent-conversations-turn.tsxsrc/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 validateon my configuration
AI assistance
- This report was drafted with an AI assistant
- 主要語言
- TypeScript
- 星號
- 4
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
sovrium/sovrium 的其他 Issue
-
domain:docs source:agent source:ai-drafted status:ready
難度 1/5 1 小時以內 新手友好度 85/100
-
bug:wrong-behaviour domain:pages source:agent source:ai-drafted status:ready
難度 2/5 1-3 小時 新手友好度 75/100
-
bug:wrong-behaviour domain:pages status:ready
難度 2/5 1-3 小時 新手友好度 65/100
-
bug:wrong-behaviour domain:pages status:ready
難度 2/5 1-3 小時 新手友好度 68/100
-
bug:wrong-behaviour domain:admin source:agent source:ai-drafted status:ready
難度 2/5 1-3 小時 新手友好度 90/100
相似的 Issue
-
docker infra P1 security size:S
難度 2/5 1-3 小時 新手友好度 68/100
josephfung/curia#2408 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
-
難度 2/5 1-3 小時 新手友好度 65/100
ehmpathy/rhachet-roles-ehmpathy#1231 ·
維護者通常 1 天內回覆
-
enhancement good first issue help wanted
難度 2/5 半天 新手友好度 70/100
danielw-sudo/agentuto#32 ·
維護者通常 1 天內回覆
-
type:docs
難度 2/5 1-3 小時 新手友好度 65/100
nightgauge/nightgauge#2836 ·
維護者通常 1 天內回覆