aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-23 16:00:24 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-23 16:00:24 -0700
commite58d85dd7589351955e220351bb68e777cfc0f88 (patch)
tree1c88dcd24689bcd809e63917e5c04cdf790deda6 /notmuch.c
parent6cccc10bf0207a6567332d83167fc73f38cc5e0d (diff)
More fixing of plurals.
It definitely doesn't help that we have the same messages in both "setup" and "new". Should combine those really.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/notmuch.c b/notmuch.c
index 581cc4c0..e98b1439 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -439,7 +439,9 @@ setup_command (int argc, char *argv[])
gettimeofday (&tv_now, NULL);
elapsed = tv_elapsed (add_files_state.tv_start,
tv_now);
- printf ("Processed %d total files in ", add_files_state.processed_files);
+ printf ("Processed %d %s in ", add_files_state.processed_files,
+ add_files_state.processed_files == 1 ?
+ "file" : "total files");
print_formatted_seconds (elapsed);
if (elapsed > 1) {
printf (" (%d files/sec.). \n",
@@ -501,7 +503,9 @@ new_command (int argc, char *argv[])
elapsed = tv_elapsed (add_files_state.tv_start,
tv_now);
if (add_files_state.processed_files) {
- printf ("Processed %d total files in ", add_files_state.processed_files);
+ printf ("Processed %d %s in ", add_files_state.processed_files,
+ add_files_state.processed_files == 1 ?
+ "file" : "total files");
print_formatted_seconds (elapsed);
if (elapsed > 1) {
printf (" (%d files/sec.). \n",