diff options
-rw-r--r-- | plugins/mail-notification/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog index 0da9cb2136..b14337ce9a 100644 --- a/plugins/mail-notification/ChangeLog +++ b/plugins/mail-notification/ChangeLog @@ -1,5 +1,10 @@ 2008-01-28 Johnny Jacob <jjohnny@novell.com> + * mail-notification.c (new_notify_status): Adding proper + comments for strings. + +2008-01-28 Johnny Jacob <jjohnny@novell.com> + ** Fixes Bug #511226. * apps-evolution-mail-notification.schemas.in: String fixes. diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index 239f466344..c88e08bd49 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -356,9 +356,10 @@ new_notify_status (EMEventTargetFolder *t) status_icon = gtk_status_icon_new (); gtk_status_icon_set_from_pixbuf (status_icon, e_icon_factory_get_icon ("mail-unread", E_ICON_SIZE_LARGE_TOOLBAR)); } - /* Translators : '%d' is the number of mails recieved and '%s' is the name of the folder*/ + if (!status_count) { status_count = t->new; + /* To translators: '%d' is the number of mails recieved and '%s' is the name of the folder*/ msg = g_strdup_printf (ngettext ("You have received %d new message\nin %s.", "You have received %d new messages\nin %s.", status_count),status_count, t->name); |