]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use plural form for a message.
authorBruno Haible <bruno@clisp.org>
Mon, 24 Nov 2003 11:27:51 +0000 (11:27 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:20 +0000 (12:11 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/format-lisp.c

index 56bc39f599a6353c595852ba671ea6a3e48ef5f7..60ab037bf7f491baeb241d69cc82fa1672dd01d4 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-24  Bruno Haible  <bruno@clisp.org>
+
+       * format-lisp.c (check_params): Use ngettext for one of the messages.
+       Reported by RafaƂ Maszkowski <rzm@icm.edu.pl>.
+
 2003-11-15  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
index 14903fc5760d13286f1eba0d098a8a82f08a4c8f..ae25c9a5c55fc940e90602e127949ebc768f1778 100644 (file)
@@ -2386,7 +2386,10 @@ check_params (struct format_arg_list **listp,
       case PT_CHARACTER: case PT_INTEGER: case PT_ARGCOUNT:
        /* too many params for directive */
        *invalid_reason =
-         xasprintf (_("In the directive number %u, too many parameters are given; expected at most %u parameters."), directives, orig_t_count);
+         xasprintf (ngettext ("In the directive number %u, too many parameters are given; expected at most %u parameter.",
+                              "In the directive number %u, too many parameters are given; expected at most %u parameters.",
+                              orig_t_count),
+                    directives, orig_t_count);
        return false;
       case PT_V:
        /* Force argument to be NIL.  */