From: John Darrington Date: Mon, 7 Oct 2013 15:41:21 +0000 (+0200) Subject: Text import dialog: Display the thousands separator in the number of cases. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd4306b04da6c8fc982d81beacc1f2e3573307b;p=pspp Text import dialog: Display the thousands separator in the number of cases. This number can be very large, so it is easier to read if the thousands are separated. --- diff --git a/src/ui/gui/page-intro.c b/src/ui/gui/page-intro.c index 4c47530be1..5005a448b1 100644 --- a/src/ui/gui/page-intro.c +++ b/src/ui/gui/page-intro.c @@ -130,16 +130,16 @@ intro_page_create (struct import_assistant *ia) "commas, or other delimiters.\n\n")); if (ia->file.total_is_exact) ds_put_format ( - &s, ngettext ("The selected file contains %zu line of text. ", - "The selected file contains %zu lines of text. ", + &s, ngettext ("The selected file contains %'zu line of text. ", + "The selected file contains %'zu lines of text. ", ia->file.line_cnt), ia->file.line_cnt); else if (ia->file.total_lines > 0) { ds_put_format ( &s, ngettext ( - "The selected file contains approximately %lu line of text. ", - "The selected file contains approximately %lu lines of text. ", + "The selected file contains approximately %'lu line of text. ", + "The selected file contains approximately %'lu lines of text. ", ia->file.total_lines), ia->file.total_lines); ds_put_format (