From: Guido Flohr Date: Sat, 26 Nov 2016 09:36:17 +0000 (+0200) Subject: doc: corrected argument numbers X-Git-Tag: v0.20~495 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=929f7a9b86dbe4b94fb7bfe5e46d595cced4c113;p=thirdparty%2Fgettext.git doc: corrected argument numbers --- diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index a46b5d881..2b5e29535 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -11245,25 +11245,56 @@ following keywords in your Perl sources: @item @code{gettext} -@item @code{dgettext} +@item @code{dgettext:2} -@item @code{dcgettext} +The second argument will be extracted. + +@item @code{dcgettext:2} + +The second argument will be extracted. @item @code{ngettext:1,2} The first (singular) and the second (plural) argument will be extracted. -@item @code{dngettext:1,2} +@item @code{dngettext:2,3} -The first (singular) and the second (plural) argument will be +The second (singular) and the third (plural) argument will be extracted. -@item @code{dcngettext:1,2} +@item @code{dcngettext:2,3} -The first (singular) and the second (plural) argument will be +The second (singular) and the third (plural) argument will be extracted. +@item @code{pgettext:1c,2} + +The first (message context) and the second argument will be extracted. + +@item @code{dpgettext:2c,3} + +The second (message context) and the third argument will be extracted. + +@item @code{dcpgettext:2c,3} + +The second (message context) and the third argument will be extracted. + +@item @code{npgettext:1c,2,3} + +The first (message context), second (singular), and third (plural) +argument will be extracted. + +@item @code{dnpgettext:2c,3,4} + +The second (message context), third (singular), and fourth (plural) +argument will be extracted. + +@item @code{dcnpgettext:2c,3,4} + +The second (message context), third (singular), and fourth (plural) +argument will be extracted. + @item @code{gettext_noop} @item @code{%gettext}