From 3e8006805fed9fb623e5ec1e5e1dd9440cc129d3 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 23 Aug 2007 16:08:09 +0000 Subject: 2007-08-23 mcrha Fix for bug #329746 svn path=/trunk/; revision=34078 --- plugins/itip-formatter/ChangeLog | 9 +++++++++ plugins/itip-formatter/itip-formatter.c | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) (limited to 'plugins') diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index acff351299..a0f8eb3380 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,12 @@ +2007-08-23 Milan Crha + + ** Fix for bug #329746 + + * itip-formatter.c: (send_item), (format_itip_object): + Marked strings to localize and renamed 'Journal' to 'Memo'. + * itip-formatter.c: (find_cal_opened_cb): + Renamed 'Journal' to 'Memo'. + 2007-08-21 Suman Manjunath ** Fix for bug #301835 (BNC) diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index ab5b8a6399..4d4eddccbd 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -683,7 +683,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) break; case E_CAL_SOURCE_TYPE_JOURNAL: itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_WARNING, - _("Unable to find this journal entry in any journal")); + _("Unable to find this memo in any memo list")); break; default: g_assert_not_reached (); @@ -1247,13 +1247,13 @@ send_item (FormatItipPObject *pitip) switch (pitip->type) { case E_CAL_SOURCE_TYPE_EVENT: - itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, "Meeting information sent"); + itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, _("Meeting information sent")); break; case E_CAL_SOURCE_TYPE_TODO: - itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, "Task information sent"); + itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, _("Task information sent")); break; case E_CAL_SOURCE_TYPE_JOURNAL: - itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, "Journal entry information sent"); + itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, _("Memo information sent")); break; default: g_assert_not_reached (); @@ -1262,13 +1262,13 @@ send_item (FormatItipPObject *pitip) } else { switch (pitip->type) { case E_CAL_SOURCE_TYPE_EVENT: - itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, "Unable to send meeting information, the meeting does not exist"); + itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, _("Unable to send meeting information, the meeting does not exist")); break; case E_CAL_SOURCE_TYPE_TODO: - itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, "Unable to send task information, the task does not exist"); + itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, _("Unable to send task information, the task does not exist")); break; case E_CAL_SOURCE_TYPE_JOURNAL: - itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, "Unable to send journal entry information, the journal entry does not exist"); + itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, _("Unable to send memo information, the memo does not exist")); break; default: g_assert_not_reached (); @@ -2044,13 +2044,13 @@ format_itip_object (EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject /* FIXME Tell the user we don't support recurring tasks */ switch (pitip->type) { case E_CAL_SOURCE_TYPE_EVENT: - itip_view_add_upper_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, "This meeting recurs"); + itip_view_add_upper_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, _("This meeting recurs")); break; case E_CAL_SOURCE_TYPE_TODO: - itip_view_add_upper_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, "This task recurs"); + itip_view_add_upper_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, _("This task recurs")); break; case E_CAL_SOURCE_TYPE_JOURNAL: - itip_view_add_upper_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, "This journal recurs"); + itip_view_add_upper_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO, _("This memo recurs")); break; default: g_assert_not_reached (); -- cgit v1.2.3