Fixed a howler with pluralism --- impossible to internationalise
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 20 Dec 2003 10:27:57 +0000 (10:27 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 20 Dec 2003 10:27:57 +0000 (10:27 +0000)
src/data-list.c
tests/command/compute.sh

index 7c411e17d529bc1ef41e2e81bd0712d3734dbe63..81edf41925e4d656bcfb778a58612d15542d216f 100644 (file)
@@ -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
     {
index 0e3655cebf8c8ec83f7ca139d485cdbeda886389..8d2480d9d9d54ee86646d6148b309cd5fcc042f5 100755 (executable)
@@ -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