From: Daiki Ueno Date: Thu, 27 Dec 2012 07:24:46 +0000 (+0900) Subject: Fix doc: correct ngettext arguments X-Git-Tag: v0.18.3~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab048ea24d157988d226f137a9f2d448a109223;p=thirdparty%2Fgettext.git Fix doc: correct ngettext arguments --- diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index 3e9556a4c..e53dc4793 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,8 @@ +2012-12-27 Daiki Ueno + + * gettext.texi (Plural forms): Fix ngettext arguments. + Reported by Reinhard Schaffner . + 2012-12-25 Daiki Ueno * gettext-0.18.2 released. diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index 9abfe1f31..3eed8aca9 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -6087,8 +6087,8 @@ arguments, you can not use it like this: @smallexample printf (ngettext ("%d file removed from directory %s", "%d files removed from directory %s", - n, dir), - n); + n), + n, dir); @end smallexample @noindent @@ -6101,8 +6101,8 @@ comes last: @smallexample printf (ngettext ("%$2d file removed from directory %$1s", "%$2d files removed from directory %$1s", - dir, n), - n); + n), + dir, n); @end smallexample @noindent