Package: po4a / 0.74-3

Metadata

Package Version Patches format
po4a 0.74-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix msginit compatibility with gettext 1.0.patch | (download)

po4a | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 fix msginit compatibility with gettext >= 1.0.

gettext 1.0 changed msginit behavior: when the output PO file already
exists, msginit now merges into it like msgmerge instead of failing
with an error.  This breaks po4a because it passes an empty PO file as
the output target; msginit merges into the empty file and produces a PO
with stripped headers and corrupted content.

Remove the output file before calling msginit when it exists and is
empty, so that msginit always creates a fresh PO file with proper
headers.

* po4a: Before calling msginit, unlink the output file if it exists
and is empty.

See: https://github.com/mquinson/po4a/issues/636
See: https://savannah.gnu.org/news/?id=10853

Cherry-pick of upstream commit 4cf9c5b90fe8bba7fca48d51ef3885bd411b08ef

0002 Always show translation stats not only in verbose mo.patch | (download)

po4a | 20 9 + 11 - 0 !
1 file changed, 9 insertions(+), 11 deletions(-)

 always show translation stats, not only in verbose mode.

Cherry-pick from upstream:
https://github.com/mquinson/po4a/commit/3c98af05675ea1052a1a8d7ce777dcbdf27cb4fa