From 2fd4306b04da6c8fc982d81beacc1f2e3573307b Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 7 Oct 2013 17:41:21 +0200 Subject: [PATCH] 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. --- src/ui/gui/page-intro.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ( -- 2.30.2