Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Simple script which removes lines with source code line numbers from .po files generated by @lingui/react. And makes Code Reviews easier. https://www.trisbee.com/jobs

License

Notifications You must be signed in to change notification settings

trisbee/lingui-locale-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lingui-locale-cleaner

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.

How to use

  1. Install this dependency: npm i @trisbee/lingui-locale-cleaner
  2. Run command lingui-locale-cleaner <path_to_locale_directory>

Example of annoying code review

cr

and after using @trisbee/lingui-locale-cleaner:

after