diff options
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r-- | calendar/gui/calendar-model.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index ce981fb144..94cc4e6219 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -1672,7 +1672,7 @@ date_value_to_string (ETableModel *etm, const void *value) e_time_format_date_and_time (&tmp_tm, priv->use_24_hour_format, TRUE, FALSE, buffer, sizeof (buffer)); - return e_utf8_from_locale_string (buffer); + return g_locale_to_utf8 (buffer, -1, NULL, NULL, NULL); } @@ -1700,17 +1700,17 @@ calendar_model_value_to_string (ETableModel *etm, int col, const void *value) case CAL_COMPONENT_FIELD_ICON: if (GPOINTER_TO_INT (value) == 0) - return e_utf8_from_locale_string (_("Normal")); + return g_locale_to_utf8 (_("Normal"), -1, NULL, NULL, NULL); else if (GPOINTER_TO_INT (value) == 1) - return e_utf8_from_locale_string (_("Recurring")); + return g_locale_to_utf8 (_("Recurring"), -1, NULL, NULL, NULL); else - return e_utf8_from_locale_string (_("Assigned")); + return g_locale_to_utf8 (_("Assigned"), -1, NULL, NULL, NULL); case CAL_COMPONENT_FIELD_HAS_ALARMS: case CAL_COMPONENT_FIELD_COMPLETE: case CAL_COMPONENT_FIELD_RECURRING: case CAL_COMPONENT_FIELD_OVERDUE: - return e_utf8_from_locale_string (value ? _("Yes") : _("No")); + return g_locale_to_utf8 (value ? _("Yes") : _("No"), -1, NULL, NULL, NULL); case CAL_COMPONENT_FIELD_COLOR: return NULL; |