Open hadley opened 6 months ago
We do need those for consistency with base:
https://github.com/search?q=repo%3Ar-devel%2Fr-svn+path%3Apo+%2FProject-Id-Version%2F&type=code
I'm also not sure if these are required by gettext. But certainly we could expose an option to supply those manually --> allow idempotency.
Maybe there could be an argument to suppress them, and it would default to true if the current project root contained a .git
directory?
I'm still loath to suppress them by default. Project-Id-Version
is pretty ubiquitous -- 4.9 million hits on GitHub:
https://github.com/search?q=path%3A.po%20%2FProject-Id-Version%3A%2F&type=code
Similar for POT-Creation-Date
and PO-Revision-Date
.
So I understand why we can suppress them and back up on git to track this info, but would do so only optionally.
These are populated by msginit
by default:
https://www.gnu.org/software/gettext/manual/gettext.html#msginit-Invocation
It'd be nice to drop these:
The version and dates cause spurious git diffs and the translator info is duplicative with what you'll get from git anyway.