]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix doc: correct ngettext arguments
authorDaiki Ueno <ueno@gnu.org>
Thu, 27 Dec 2012 07:24:46 +0000 (16:24 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 27 Dec 2012 07:25:11 +0000 (16:25 +0900)
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi

index 3e9556a4cf401a551bb82a7447cbf8e6f7a0b508..e53dc47935b0b52c9885135f5dfb0201f2a5fa1c 100644 (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.
index 9abfe1f31c9aa0aef460aa7914b44fcb3de15327..3eed8aca9c1b05c7ddf84eee13306ae1a6f50640 100644 (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