Skip to content

Conversation

@gabitoesmiapodo
Copy link
Collaborator

@gabitoesmiapodo gabitoesmiapodo commented Aug 14, 2025

Closes #8

Summary

  • Updated lingui dependencies to the latest versions.
  • Added eslint-plugin-lingui to prevent some issues.
  • Fixed problems introduced when updated lingui dependencies.

Everything should be running fine now with the latest versions.

@gabitoesmiapodo gabitoesmiapodo self-assigned this Aug 14, 2025
@Copilot Copilot AI review requested due to automatic review settings August 14, 2025 19:20
@github-actions
Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


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.

Copilot

This comment was marked as outdated.

Copy link

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 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.

@gabitoesmiapodo gabitoesmiapodo merged commit 4a13dd8 into feat/internationalization-setup-for-swap-cow-fi Aug 14, 2025
3 of 5 checks passed
@gabitoesmiapodo gabitoesmiapodo deleted the feat/update-lingui branch August 14, 2025 20:54
@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Lingui

1 participant