Re: [PATCH] po: update XGETTEXT_OPTIONS

2021-04-26 Thread Dmitry V. Levin
On Sun, Mar 21, 2021 at 08:00:00AM +, Dmitry V. Levin wrote: > Recognize sgettext as a macro which is used for translations. > > Flag _, N_, and sgettext with pass-c-format. The effect of this > specification is that xgettext will propagate format string > requirements for _, N_, and sgettext

[PATCH] po: update XGETTEXT_OPTIONS

2021-03-21 Thread Dmitry V. Levin
Recognize sgettext as a macro which is used for translations. Flag _, N_, and sgettext with pass-c-format. The effect of this specification is that xgettext will propagate format string requirements for _, N_, and sgettext calls to their first arguments, and thus mark them as format strings. Sig