From 2a11959bdd33d78f53a18e07a117b09e3312e8af Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 11 Nov 2017 18:15:18 -0200 Subject: [PATCH] month-cell: show +X in overflow label Instead of "Other X Events". --- data/ui/month-cell.ui | 4 ++-- src/views/gcal-month-cell.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/ui/month-cell.ui b/data/ui/month-cell.ui index fef72806..5af53880 100644 --- a/data/ui/month-cell.ui +++ b/data/ui/month-cell.ui @@ -62,12 +62,12 @@ True False - 6 - + True False end + 0.0 diff --git a/src/views/gcal-month-cell.c b/src/views/gcal-month-cell.c index 1d90fa9f..179d15fa 100644 --- a/src/views/gcal-month-cell.c +++ b/src/views/gcal-month-cell.c @@ -563,7 +563,7 @@ gcal_month_cell_set_overflow (GcalMonthCell *self, self->n_overflow = n_overflow; - text = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, "Other event", "Other %d events", n_overflow), n_overflow); + text = g_strdup_printf ("+%d", n_overflow); gtk_label_set_text (GTK_LABEL (self->overflow_label), text); }