Skip to content

Request translations for Duck.ai edit message screen - #9498

Open
malmstein wants to merge 13 commits into
developfrom
feature/david/duck-ai-edit-prompt-l10n
Open

Request translations for Duck.ai edit message screen#9498
malmstein wants to merge 13 commits into
developfrom
feature/david/duck-ai-edit-prompt-l10n

Conversation

@malmstein

@malmstein malmstein commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Task/Issue URL: https://app.asana.com/1/137249556945/task/1217486650298566
Tech Design URL (if applicable):
API Proposals URL(s) (if applicable): None

Description

Requests Smartling translations for the Duck.ai edit message screen.

The screen's copy was sitting in donottranslate.xml while the feature was in development. This moves it into strings-duckchat.xml so the repository connector picks it up, and adds an instruction to each string so translators know what they are looking at:

  • duck_ai_edit_prompt_title — "Edit message"
  • duck_ai_edit_prompt_lose_responses_warning — "Editing will replace the response with a new one."

duck_ai_edit_prompt_cancel is gone rather than translated. It was the same copy as the design system's cancel string, which is already translated in all 24 supported locales, so the toolbar's navigation content description now points at that.

Translations will land as further commits on this branch, one per language, over the next few days. Lint's MissingTranslation fails until every locale is in, so CI stays red until the last one arrives.

Steps to test this PR

Edit message screen

  • Open Duck.ai, send a message, then edit it to reach the edit message screen
  • Check the screen title reads "Edit message" and the warning card reads "Editing will replace the response with a new one."
  • Check the close button's content description is announced as "Cancel" by TalkBack
  • Review the English copy and the instruction attributes rather than the generated translations — those come from Smartling

UI changes

Before After
No UI changes No UI changes

Note

Low Risk
String resource and accessibility label changes only; no chat or networking logic.

Overview
Moves Duck.ai edit message copy from donottranslate.xml into strings-duckchat.xml with instruction attributes so Smartling can translate the screen title and the warning that editing replaces the prior response.

EditPromptActivity now uses the shared design-system cancel string for the close button’s TalkBack label instead of a duplicate duck_ai_edit_prompt_cancel key.

Adds duck_ai_edit_prompt_title and duck_ai_edit_prompt_lose_responses_warning across the locales in this branch (including Estonian and others). CI may stay red until every locale is present for MissingTranslation.

Minor string-resource housekeeping: contextual sheet hint comment no longer references the contextualSheetImprovements flag; French input_screen_search_only_hint text is adjusted.

Reviewed by Cursor Bugbot for commit 76bd524. Bugbot is set up for automated code reviews on this repo. Configure here.

malmstein and others added 11 commits August 14, 2026 13:32
Move the edit message screen strings out of donottranslate.xml so the
Smartling connector picks them up, and add translator instructions for
both.

The cancel content description reused the same copy as the design
system's cancel string, which is already translated in all supported
locales, so point at that instead of translating a duplicate.

https://app.asana.com/1/137249556945/task/1217486650298566
Translate strings-duckchat to values-fi
Translate strings-duckchat to values-pt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants