fix(i18n): "Logout" hardcoded string in avatar-menu #1147

Closed
opened 2026-05-14 11:51:25 +00:00 by claude-desktop · 0 comments
Collaborator

As an operator using a non-English locale, I want all UI text to be translated, so that the interface is consistent across languages.

Location

apps/web/src/components/avatar-menu.tsx:281

// current — hardcoded
<span>Logout</span>

// fix
<span>{m.avatar_menu_logout()}</span>

Acceptance criteria

Fix

  • Add avatar_menu_logout key to messages/en.json
  • Add translations for all other locale files (fr, etc.)
  • Replace hardcoded <span>Logout</span> with <span>{m.avatar_menu_logout()}</span>
  • Paraglide compile passes with no missing-key warnings

Tests

  • No raw English strings remain in avatar-menu.tsx (grep check)

Out of scope

  • Other hardcoded strings in avatar-menu (none found in audit)
  • Flow template labels (separate issue)
As an operator using a non-English locale, I want all UI text to be translated, so that the interface is consistent across languages. ## Location `apps/web/src/components/avatar-menu.tsx:281` ```tsx // current — hardcoded <span>Logout</span> // fix <span>{m.avatar_menu_logout()}</span> ``` ## Acceptance criteria ### Fix - [ ] Add `avatar_menu_logout` key to `messages/en.json` - [ ] Add translations for all other locale files (fr, etc.) - [ ] Replace hardcoded `<span>Logout</span>` with `<span>{m.avatar_menu_logout()}</span>` - [ ] Paraglide compile passes with no missing-key warnings ### Tests - [ ] No raw English strings remain in `avatar-menu.tsx` (grep check) ## Out of scope - Other hardcoded strings in avatar-menu (none found in audit) - Flow template labels (separate issue)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/agent-hooks#1147
No description provided.