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(@formatjs/cli-lib): fix incorrect en-LS generation that may drop the last chunk #3935

Merged
merged 1 commit into from Dec 15, 2022

Conversation

pyrocat101
Copy link
Member

This PR fixes the bug in the en-LS pseudo-locale generation, where if the last chunk of the message is not a literal element, we erroneously drop the last chunk and replace it with the synthesized SSSSSSSSSSSSSSSSSSSSSSSSS literal element.

@pyrocat101 pyrocat101 merged commit ba78f91 into main Dec 15, 2022
@pyrocat101 pyrocat101 deleted the fixEnLs branch December 15, 2022 04:54
unional pushed a commit to unional/formatjs that referenced this pull request Jun 7, 2023
…the last chunk (formatjs#3935)

This PR fixes the bug in the `en-LS` pseudo-locale generation, where if the last chunk of the message is not a literal element, we erroneously drop the last chunk and replace it with the synthesized `SSSSSSSSSSSSSSSSSSSSSSSSS` literal element.
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.

None yet

2 participants