-
Notifications
You must be signed in to change notification settings - Fork 1
chore: update lingui #5
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
chore: update lingui #5
Conversation
solution to "Attempted to call a translation function without setting a locale"
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
…eat/update-lingui
There was a problem hiding this 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 PR updates the Lingui internationalization library from version 4.10.0 to 5.4.1 and adds ESLint plugin for Lingui to prevent common issues. The update includes fixing compatibility issues that arose from the major version upgrade.
- Updated all Lingui dependencies to latest versions (4.10.0 → 5.4.1/5.6.0)
- Added eslint-plugin-lingui for better development experience
- Fixed import paths and translation macro usage to work with new Lingui version
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updated Lingui dependencies and added ESLint plugin |
| eslint.config.js | Added Lingui ESLint plugin configuration |
| useConfirmationRequest.ts | Removed old translation macro and updated import path |
| ConfirmationModal/index.tsx | Updated to use new macro import and conditional translations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
4a13dd8
into
feat/internationalization-setup-for-swap-cow-fi
Closes #8
Summary
linguidependencies to the latest versions.eslint-plugin-linguito prevent some issues.Everything should be running fine now with the latest versions.