From 2ed139f9baf695edf0300f272a31d3ef98038521 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 20 Dec 2003 10:27:57 +0000 Subject: [PATCH] Fixed a howler with pluralism --- impossible to internationalise --- src/data-list.c | 11 ++++++++--- tests/command/compute.sh | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/data-list.c b/src/data-list.c index 7c411e17..81edf419 100644 --- a/src/data-list.c +++ b/src/data-list.c @@ -751,9 +751,14 @@ dump_fixed_table (void) filename = ""; buf = local_alloc (strlen (filename) + INT_DIGITS + 80); sprintf (buf, (dls.handle != inline_file - ? _("Reading %d record%s from file %s.") - : _("Reading %d record%s from the command file.")), - dls.nrec, dls.nrec != 1 ? "s" : "", filename); + ? + ngettext("Reading %d record from file %s.", + "Reading %d records from file %s.",dls.nrec) + : + ngettext("Reading %d record from the command file.", + "Reading %d records from the command file.", + dls.nrec)), + dls.nrec, filename); } else { diff --git a/tests/command/compute.sh b/tests/command/compute.sh index 0e3655ce..8d2480d9 100755 --- a/tests/command/compute.sh +++ b/tests/command/compute.sh @@ -70,6 +70,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi +activity="run program" $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/compute.stat if [ $? -ne 0 ] ; then no_result ; fi -- 2.30.2