Repository navigation
fix(webui): translate the drag overlay and policy toast - #7952
Merged
kovtcharov-amd merged 5 commits intoNov 13, 2026
Merged
Conversation
In Arabic, dragging a file over a chat showed an English-only drop message, and the scroll-to-bottom button and policy-blocked toast were English too. They now read in Arabic with the English gloss.
Contributor
|
Verdict: Approve Moves the last hard-coded English strings in the chat view (the drag-and-drop overlay, the scroll-to-bottom button, and the policy-blocked toast with its receipt link) through the translation layer, with Arabic text for each. The strings are unchanged in English and the change is small and well covered; nothing blocks merge. Real-world evidenceNo evidence bundle was produced for this run. The PR description embeds before/after screenshots of the Arabic drag overlay. The scroll button and blocked-tool toast are covered by the new Arabic unit test only, as the author notes. Apart from those screenshots, the verdict rests on static review. 🔍 Technical detailsIssues found: none blocking. Checked
Strengths
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In Arabic, dragging a file over a chat showed "Drop files to index them for this chat" in English only, with no Arabic and no gloss. The drop message, the scroll-to-bottom button and the policy-blocked toast (including its View receipt link) now read in Arabic with the usual English gloss.
Closes #7953
Test plan
npm teston the ChatView and i18n files passes, including a new Arabic case for the toast and drag overlay inChatView.policyAlert.test.tsxnpm run buildpasses🔍 Technical details
ChatView.tsxhad these strings as JSX literals outsideuseT; new keyschat.dropOverlay,chat.scrollBottom,chat.policyBlocked,chat.policyViewReceiptinen.tsandar.ts; "Receipt unavailable" reusesactivity.policy.receiptUnavailable.hardcodedText.baseline.jsonlowered forChatView.tsx.