Fix plural for "byte" when there isn't a single byte.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 25 Sep 2010 19:55:07 +0000 (21:55 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 25 Sep 2010 19:55:07 +0000 (21:55 +0200)
lisp/ChangeLog
lisp/gnus-art.el

index 5f18899..1afeb0a 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when
+       there isn't a single byte.
+
        * gnus-int.el (gnus-open-server): Don't query whether to go offline --
        just do it.  It doesn't really seem to matter what the user responds
        here, I think, so it's just a confusing question.
index cc6ec1f..2e2facb 100644 (file)
@@ -5091,7 +5091,10 @@ Deleting parts may malfunction or destroy the article; continue? "))
            "|\n"
            "| Type:           " type "\n"
            "| Filename:       " filename "\n"
-           "| Size (encoded): " bsize " Byte\n"
+           "| Size (encoded): " bsize (format " byte%s\n"
+                                              (if (= bsize 1)
+                                                  ""
+                                                "s"))
            (when description
              (concat    "| Description:    " description "\n"))
            "`----\n"))