From: Bruno Haible Date: Mon, 24 Nov 2003 11:27:51 +0000 (+0000) Subject: Use plural form for a message. X-Git-Tag: v0.13~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=180ef3b55665be75e668ca1268574011aeebedb7;p=thirdparty%2Fgettext.git Use plural form for a message. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 56bc39f59..60ab037bf 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2003-11-24 Bruno Haible + + * format-lisp.c (check_params): Use ngettext for one of the messages. + Reported by Rafał Maszkowski . + 2003-11-15 Bruno Haible * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES. diff --git a/gettext-tools/src/format-lisp.c b/gettext-tools/src/format-lisp.c index 14903fc57..ae25c9a5c 100644 --- a/gettext-tools/src/format-lisp.c +++ b/gettext-tools/src/format-lisp.c @@ -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. */