[PATCH v2b 2/2][BZ #13853] Replace Bash-only $"msgid" with gettextf

Andreas Schwab schwab@suse.de
Mon Nov 26 09:39:00 GMT 2012


"P. J. McDermott" <pjm@nac.net> writes:

> This patch isn't really as major as the diffstat and proposed change log
> entries make it seem.  It rather simply defines _gettext and gettextf
> and replaces $"msgid" quoting, e.g.:
>
>     s/printf \$"/gettextf "/; s/printf >&2 \$"/gettextf >&2 "/;

You also need to update the xgettext rules in po/Makefile so that the
tranlatable strings are actually found.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list