Warning
You can now achieve the same result with the latest version of Lingui. This going to be obsolete from now on.
Simple script which removes lines with source code line numbers from .po files generated by @lingui/react. And makes Code Reviews easier.
- Install this dependency:
npm i @trisbee/lingui-locale-cleaner
- Run command
lingui-locale-cleaner <path_to_locale_directory>
and after using @trisbee/lingui-locale-cleaner: