]> git.ipfire.org Git - thirdparty/gettext.git/commit
Support reading PO files with '#=' lines.
authorBruno Haible <bruno@clisp.org>
Mon, 30 Jun 2025 11:50:51 +0000 (13:50 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 30 Jun 2025 11:50:51 +0000 (13:50 +0200)
commit8d373b065696573050776bc4bf5b6fbc660d3665
treec1ea413a9aa32ac7df77f5dfd773214dc7f76b56
parentc97fababab32e3167acf5661f654e8b635cb0390
Support reading PO files with '#=' lines.

* gettext-tools/src/read-catalog-abstract.c
(catalog_reader_seen_generic_comment): Treat '=' like ','.
* gettext-tools/src/read-catalog.c (default_comment_special): Allow several
calls to this method to make side effects on dcatr.
* gettext-tools/src/read-catalog-special.h: Update comment.
* gettext-tools/src/read-catalog-special.c: Likewise.
* gettext-tools/tests/msgcat-24: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add it.
gettext-tools/src/read-catalog-abstract.c
gettext-tools/src/read-catalog-special.c
gettext-tools/src/read-catalog-special.h
gettext-tools/src/read-catalog.c
gettext-tools/tests/Makefile.am
gettext-tools/tests/msgcat-24 [new file with mode: 0755]