Text import dialog: Display the thousands separator in the number of cases.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 7 Oct 2013 15:41:21 +0000 (17:41 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 7 Oct 2013 15:41:21 +0000 (17:41 +0200)
This number can be very large, so it is easier to read if the thousands are separated.

src/ui/gui/page-intro.c

index 4c47530be16ad45c668ac49d890ab14fa8b97f92..5005a448b1cd4c6ba1ec60d63d98492d2621f6d9 100644 (file)
@@ -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 (