From: John Darrington Date: Sat, 20 Dec 2003 10:27:57 +0000 (+0000) Subject: Fixed a howler with pluralism --- impossible to internationalise X-Git-Tag: v0.4.0~409 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed139f9baf695edf0300f272a31d3ef98038521;p=pspp-builds.git Fixed a howler with pluralism --- impossible to internationalise --- 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