Skip to content

Conversation

lwnmengjing
Copy link
Member

…enu and binding components

Description

Checklist

  • the pull request title describes what this PR does (not a vague title like Update index.md)
  • the pull request targets the default branch of the repository (main)
  • tests are added for the changes I made (if any source code was modified)
  • documentation added or updated
  • I have run the project locally and verified that there are no errors

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request internationalizes user-facing text within the account binding and avatar dropdown components by replacing hardcoded strings with internationalized messages.

  • Utilizes intl.formatMessage to deliver locale-specific messages in the binding component.
  • Replaces static text labels with FormattedMessage components in both the binding and avatar dropdown components.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/pages/Account/Settings/components/binding.tsx Internationalized success messages and text labels.
src/components/RightContent/AvatarDropdown.tsx Internationalized dropdown labels for account options.

@lwnmengjing lwnmengjing merged commit dbbbfbb into main Apr 2, 2025
1 check passed
@lwnmengjing lwnmengjing deleted the fix/i18n branch April 2, 2025 15:12
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