getsentry / babel-gettext-extractor

A fork of babel-gettext-plugin that works with older versions of node and supports comment and location extraction
MIT License
43 stars 22 forks source link

How can I tell this to remove obsolete text that has been removed? #26

Closed sontek closed 4 years ago

sontek commented 4 years ago

Sometimes our translators ask for context, so we add it, but this generates a new string and leaves the old one around. How do I tell it to remove obsolete?

sontek commented 4 years ago

It was removing them but it looks like I was using the same text in multiple places so it was sticking around, I added context to all of the strings now