social-app
social-app copied to clipboard
Update Lingui to 5.1.1
There are some new features here that I'm really interested in, with Print Placeholder Values, this allows us to know exactly what the placeholders are.
Before this, {0} of {1}
was difficult to translate.
After updates, translators can more easily understand {0}
is currentTime
and {1}
is duration
without having to check the source code.
The first commit is more like a regular upgrade, with no major changes.
The second commit removed @lingui/macro
according to the migration guide and updated all related imports. We can stick to the first commit for now, but since @lingui/macro
is deprecated and will be removed in the next major version, we may need to address this later.
EDIT: A patch is no longer necessary, as this issue has been resolved in lingui 4.7.1.