diff options
-rw-r--r-- | src/service.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/service.c b/src/service.c index e42b689..08945bc 100644 --- a/src/service.c +++ b/src/service.c @@ -723,7 +723,7 @@ create_phone_header_state (IndicatorDatetimeService * self) gchar * label; gboolean has_alarms; gchar * a11y; - gchar * title; + const gchar * title = _("Upcoming"); g_variant_builder_init (&b, G_VARIANT_TYPE_VARDICT); @@ -751,10 +751,7 @@ create_phone_header_state (IndicatorDatetimeService * self) g_variant_builder_add (&b, "{sv}", "visible", g_variant_new_boolean (TRUE)); g_variant_builder_add (&b, "{sv}", "label", g_variant_new_take_string (label)); - - /* title is day-of-week */ - title = g_date_time_format (now, _("%A")); - g_variant_builder_add (&b, "{sv}", "title", g_variant_new_take_string (title)); + g_variant_builder_add (&b, "{sv}", "title", g_variant_new_string (title)); /* cleanup */ g_date_time_unref (now); @@ -887,7 +884,7 @@ create_phone_calendar_section (IndicatorDatetimeService * self) GMenu * menu = g_menu_new (); /* strftime(3) format string to show date */ - add_localtime_menuitem (menu, self, _("%e %B %Y"), "calendar"); + add_localtime_menuitem (menu, self, _("%A, %e %B %Y"), "calendar"); return G_MENU_MODEL (menu); } |