]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
doc: corrected argument numbers
authorGuido Flohr <guido.flohr@cantanea.com>
Sat, 26 Nov 2016 09:36:17 +0000 (11:36 +0200)
committerGuido Flohr <guido.flohr@cantanea.com>
Sat, 26 Nov 2016 09:36:17 +0000 (11:36 +0200)
gettext-tools/doc/gettext.texi

index a46b5d881408db093ed38d81ecbf8ceea1de5a9e..2b5e29535e373dd595a7192939cbaa520a54b89a 100644 (file)
@@ -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}