]> git.ipfire.org Git - thirdparty/gettext.git/commit
libgettextpo: Extend the function po_message_set_format.
authorBruno Haible <bruno@clisp.org>
Tue, 19 Nov 2024 15:26:45 +0000 (16:26 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 19 Nov 2024 15:26:45 +0000 (16:26 +0100)
commit59a82e1e1c103896f575b2c47ca216b67ff8e534
tree7eddd6030a472da4012004391815d4f818f75ffe
parent9aa0a6be5ccfde7e7c21b4d4b18d2d144309bdcc
libgettextpo: Extend the function po_message_set_format.

Reported by Alexander Potashev <aspotashev@gmail.com>
at <https://savannah.gnu.org/bugs/?61160>.

* gettext-tools/libgettextpo/gettext-po.c (po_message_set_format): Support a
negative value.
* gettext-tools/libgettextpo/gettext-po.in.h (po_message_set_format): Mention
effects of po_message_set_format (..., -1).
* gettext-tools/doc/gettext.texi (po_message_t API): Likewise.
* NEWS: Mention the change.
NEWS
gettext-tools/doc/gettext.texi
gettext-tools/libgettextpo/gettext-po.c
gettext-tools/libgettextpo/gettext-po.in.h