]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Add support for gettext-like functions with wide string argument.
authorBruno Haible <bruno@clisp.org>
Sat, 14 Nov 2020 17:55:17 +0000 (18:55 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Nov 2020 17:55:59 +0000 (18:55 +0100)
commit1a5081fda1e4dfefcf727df7aa812f0b92f7977b
treed9b282ff7b129b1cda05be7aa37ae914027d8843
parent49fe44f495b77907cec03fb216a408588daab960
xgettext: Add support for gettext-like functions with wide string argument.

Reported by Érico Nogueira <ericonr@disroot.org> in
<https://lists.gnu.org/archive/html/bug-gettext/2020-11/msg00013.html>.

* gettext-tools/src/x-c.c (phase5_get): Recognize also the string-literal
prefixes 'u', 'U', 'L'. Consider all types of C++ raw strings as relevant.
* gettext-tools/tests/xgettext-c-5: Add more test cases.
* gettext-tools/tests/xgettext-c-c++-1: Likewise.
* NEWS: Mention it.
NEWS
gettext-tools/src/x-c.c
gettext-tools/tests/xgettext-c-5
gettext-tools/tests/xgettext-c-c++-1