rubenv / angular-gettext-tools

Tools for extracting/compiling angular-gettext strings.
http://angular-gettext.rocketeer.be/
MIT License
39 stars 129 forks source link

feat: add option to not skip fuzzy strings #198

Closed ZuBB closed 5 years ago

ZuBB commented 5 years ago

In my case final JSON dictionary is "composed" from two sources: .po file that came from translator and another .po file (with just extracted strings) filled with auto-translated strings. So I need dedicated option to deal with this case. Code is written in manner that does not require any changes for existing users

ZuBB commented 5 years ago

I understand that this PR may not be merged. I still need this code for my project and am willing to share it in case someone else want to use..

rubenv commented 5 years ago

I can live with this. From experience I can say though: this might bite you, be careful, results aren't always great.

ZuBB commented 5 years ago

I can live with this. From experience I can say though: this might bite you, be careful, results aren't always great.

Thanks for warning @rubenv. We will keep that in mind

Any chance to release this changes as new minor(or patch) version so grunt-angular-gettext will pick it up?

rubenv commented 5 years ago

Done, released to NPM as v2.4.2. Enjoy!

ZuBB commented 5 years ago

thanks a lot @rubenv! you just saved a world from 2 more forks 😃