]> git.ipfire.org Git - thirdparty/gettext.git/commit
PHP: Support newer format string directives.
authorBruno Haible <bruno@clisp.org>
Sat, 21 Sep 2024 13:11:51 +0000 (15:11 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 21 Sep 2024 13:11:51 +0000 (15:11 +0200)
commitd3b3f8e916801a1a3309d13d11916b3fff8d496b
treed92febd41a6112b55570ddbda12e520dc270dbcd
parent9d4340a78812fad9d69a40b43fdac03417db4c8c
PHP: Support newer format string directives.

Reported by José Luis Jiménez Fernández <jjimenez@interhost.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2023-05/msg00037.html>.

* gettext-tools/src/format-php.c (format_parse): Treat E, F, g, G, h, H like
e, f.
* gettext-tools/tests/format-php-1: Test the %E, %F, %g, %G, %h, %H directives.
* gettext-tools/tests/format-php-2: Update type compatibility tests.
* NEWS: Mention the change.
NEWS
gettext-tools/src/format-php.c
gettext-tools/tests/format-php-1
gettext-tools/tests/format-php-2