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(cli): {locale} and {name} replace only once in catalog path #1342

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

Martin005
Copy link
Contributor

This PR fixes #1274 by replacing all occurrences of {locale} and {name} in the catalog paths.
I have also added tests for checking the implementation.

@vercel
Copy link

vercel bot commented Jan 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
js-lingui ✅ Ready (Inspect) Visit Preview Jan 16, 2023 at 6:35PM (UTC)

@github-actions
Copy link

size-limit report 📦

Path Size
./packages/core/build/cjs/core.production.min.js 2.87 KB (0%)
./packages/detect-locale/build/cjs/detect-locale.production.min.js 798 B (0%)
./packages/react/build/cjs/react.production.min.js 4.91 KB (0%)
./packages/remote-loader/build/cjs/remote-loader.production.min.js 17.56 KB (0%)

@andrii-bodnar
Copy link
Contributor

@Martin005 thank you! 🚀

@andrii-bodnar andrii-bodnar merged commit 9e2d7d2 into main Jan 18, 2023
@andrii-bodnar andrii-bodnar deleted the fix/locale_name_replace branch January 18, 2023 10:02
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.

{locale} and {name} are only replaced once in the catalog paths
2 participants