cedaro / grunt-wp-i18n

Internationalize WordPress themes and plugins with Grunt.
MIT License
160 stars 25 forks source link

Revert changes to generated POT if only change is the timestamp #10

Closed paulgibbs closed 10 years ago

paulgibbs commented 10 years ago

It'd be very handy to have a configurable parameter that, if the only changed to the re-generated POT file was the "POT-Creation-Date" line (the timestamp), that the original file wouldn't be replaced for this kind of meaningless change.

bradyvercher commented 10 years ago

Thanks for the feedback, Paul. Something like that would be nice. I'll have to think through the implementation -- any ideas are welcome though.

bradyvercher commented 10 years ago

This was a little trickier than I thought since a few headers needed to be modified to make sure the comparison was accurate, but it should be good to go in v0.4.4. Docs are here.

paulgibbs commented 10 years ago

This is going to be super-helpful. Thank you for implementing the idea :)