Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: react-intl's FormattedMessage component matching failed #1109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

keuby
Copy link

@keuby keuby commented Mar 15, 2024

<FormattedMessage
  id="my.i18n.key"
  values={{value: 1}}
/>

In the above code, the first character after FormattedMessage is not a space or open parenthesis, but a line break, causing the match to fail

@keuby keuby changed the title fix: react-intl's FormattedMessage component matching pattern being incorrect fix: react-intl's FormattedMessage component matching failed Mar 15, 2024
@oimmc
Copy link

oimmc commented Sep 11, 2024

"i18n-ally.enabledFrameworks": ["react-intl"],

找不到以下框架,请检查您的设置。 react-intl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants