Fix doc: correct ngettext arguments

This commit is contained in:
Daiki Ueno 2012-12-27 16:24:46 +09:00
parent 7e0852e941
commit 4ab048ea24
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-12-27 Daiki Ueno <ueno@gnu.org>
* gettext.texi (Plural forms): Fix ngettext arguments.
Reported by Reinhard Schaffner <rschaffner@zynga.com>.
2012-12-25 Daiki Ueno <ueno@gnu.org>
* gettext-0.18.2 released.

View File

@ -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