[PATCH] Fix trivial whitespace issue



When I was playing around with notifications, I noticed that in the 
status line at the bottom of the window, the mailbox name is not 
separated from the word "with". It seems like ngettext eats initial 
whitespace, at least with my version. Here's a trivial patch that fixes 
the issue. If Pan mangles the patch, it's also at http://nullinfinity.org/
space.patch .

Regards,

Johan

--- balsa-mblist.c.orig	2007-04-10 15:40:50.000000000 -0300
+++ balsa-mblist.c	2007-04-10 15:40:05.000000000 -0300
@@ -2296,13 +2296,13 @@
 
     /* xgettext: this is the first part of the message
      * "Shown mailbox: %s with %d messages, %d new, %d hidden". */
-    g_string_append_printf(desc, _("Shown mailbox: %s"), mailbox->name);
+    g_string_append_printf(desc, _("Shown mailbox: %s "), mailbox->name);
     if (total_messages > 0) {
         /* xgettext: this is the second part of the message
          * "Shown mailbox: %s with %d messages, %d new, %d hidden". */
         g_string_append_printf(desc,
-                               ngettext(" with %d message",
-                                        " with %d messages",
+                               ngettext("with %d message",
+                                        "with %d messages",
                                         total_messages), total_messages);
         if (unread_messages > 0)
             /* xgettext: this is the third part of the message




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]