* nnimap.el (nnimap-wait-for-response): Minor fixup of message string.
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 9 Feb 2012 05:17:23 +0000 (06:17 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 9 Feb 2012 05:17:23 +0000 (06:17 +0100)
lisp/ChangeLog
lisp/nnimap.el

index 145d16e..020de90 100644 (file)
@@ -1,5 +1,7 @@
 2012-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-wait-for-response): Minor fixup of message string.
+
        * gnus.el (gnus-server-extend-method): Don't add an -address component
        if the method already has one (bug#9676).
 
index 4c75f72..de4d248 100644 (file)
@@ -1754,8 +1754,11 @@ textual parts.")
               7 "nnimap read %dk from %s%s" (/ (buffer-size) 1000)
               nnimap-address
               (if (not (zerop (nnimap-initial-resync nnimap-object)))
-                  (format " (initial sync of %d groups; please wait)"
-                          (nnimap-initial-resync nnimap-object))
+                  (format " (initial sync of %d group%s; please wait)"
+                          (nnimap-initial-resync nnimap-object)
+                          (if (= (nnimap-initial-resync nnimap-object) 1)
+                              ""
+                            "s"))
                 "")))
            (nnheader-accept-process-output process)
            (goto-char (point-max)))