aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2005-12-30 08:09:52 +0800
committerAndre Klapper <aklapper@src.gnome.org>2005-12-30 08:09:52 +0800
commitec949e4e4ca69319a3351105892232703c9b8307 (patch)
tree1e539dd9636625cc0f60ab158cc7865f17cfc2ea
parent8900277e46fd82a71310588fcf743e26dd8cb15e (diff)
downloadgsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.tar
gsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.tar.gz
gsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.tar.bz2
gsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.tar.lz
gsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.tar.xz
gsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.tar.zst
gsoc2013-evolution-ec949e4e4ca69319a3351105892232703c9b8307.zip
Marked missing strings translatable. Fixes bug 313554 in CVS HEAD.
2005-12-30 Andre Klapper <a9016009@gmx.de> * itip-formatter.c, itip-view.c: Marked missing strings translatable. Fixes bug 313554 in CVS HEAD. svn path=/trunk/; revision=30968
-rw-r--r--plugins/itip-formatter/itip-formatter.c18
-rw-r--r--plugins/itip-formatter/itip-view.c34
2 files changed, 26 insertions, 26 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index ad31d50571..554ca3a203 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -272,7 +272,7 @@ cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
d(printf ("Failed opening itip formatter calendar '%s' during non-search opening\n", e_source_peek_name (source)));
itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view),
ITIP_VIEW_INFO_ITEM_TYPE_WARNING,
- "Failed to load the calendar '%s'",
+ _("Failed to load the calendar '%s'"),
e_source_peek_name (source));
g_hash_table_remove (pitip->ecals[source_type], e_source_peek_uid (source));
return;
@@ -389,7 +389,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
d(printf ("Failed opening itip formatter calendar '%s' during search opening... ", e_source_peek_name (source)));
itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view),
ITIP_VIEW_INFO_ITEM_TYPE_WARNING,
- "Failed to load the calendar '%s'",
+ _("Failed to load the calendar '%s'"),
e_source_peek_name (source));
g_hash_table_remove (pitip->ecals[source_type], e_source_peek_uid (source));
goto cleanup;
@@ -404,7 +404,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
&& e_cal_get_object_list (ecal, fd->sexp, &objects, NULL)
&& g_list_length (objects) > 0) {
itip_view_add_upper_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_WARNING,
- "An appointment in the calendar '%s' conflicts with this meeting", e_source_peek_name (source));
+ _("An appointment in the calendar '%s' conflicts with this meeting"), e_source_peek_name (source));
e_cal_free_object_list (objects);
}
@@ -430,7 +430,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
/* FIXME Check read only state of calendar? */
itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_INFO,
- "Found the appointment in the calendar '%s'", e_source_peek_name (source));
+ _("Found the appointment in the calendar '%s'"), e_source_peek_name (source));
set_buttons_sensitive (pitip);
}
@@ -484,22 +484,22 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
/* FIXME Shouldn't the buttons be sensitized here? */
} else {
- itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, "Unable to find any calendars");
+ itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, _("Unable to find any calendars"));
itip_view_set_buttons_sensitive (ITIP_VIEW (pitip->view), FALSE);
}
} else if (!pitip->current_ecal) {
switch (pitip->type) {
case E_CAL_SOURCE_TYPE_EVENT:
itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_WARNING,
- "Unable to find this meeting in any calendar");
+ _("Unable to find this meeting in any calendar"));
break;
case E_CAL_SOURCE_TYPE_TODO:
itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_WARNING,
- "Unable to find this task in any task list");
+ _("Unable to find this task in any task list"));
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 journal entry in any journal"));
break;
default:
g_assert_not_reached ();
@@ -525,7 +525,7 @@ find_server (FormatItipPObject *pitip, ECalComponent *comp)
rid = e_cal_component_get_recurid_as_string (comp);
pitip->progress_info_id = itip_view_add_lower_info_item (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_PROGRESS,
- "Searching for an existing version of this appointment");
+ _("Searching for an existing version of this appointment"));
itip_view_set_buttons_sensitive (ITIP_VIEW (pitip->view), FALSE);
diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c
index ba31ee153f..8e71f912ff 100644
--- a/plugins/itip-formatter/itip-view.c
+++ b/plugins/itip-formatter/itip-view.c
@@ -701,43 +701,43 @@ set_buttons (ItipView *view)
gtk_container_foreach (GTK_CONTAINER (priv->button_box), (GtkCallback) gtk_widget_destroy, NULL);
/* Everything gets the open button */
- set_one_button (view, "_Open Calendar", GTK_STOCK_JUMP_TO, ITIP_VIEW_RESPONSE_OPEN);
+ set_one_button (view, _("_Open Calendar"), GTK_STOCK_JUMP_TO, ITIP_VIEW_RESPONSE_OPEN);
switch (priv->mode) {
case ITIP_VIEW_MODE_PUBLISH:
/* FIXME Is this really the right button? */
- set_one_button (view, "_Accept", GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
+ set_one_button (view, _("_Accept"), GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
break;
case ITIP_VIEW_MODE_REQUEST:
- set_one_button (view, is_recur_set ? "_Decline all" : "_Decline", GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
- set_one_button (view, is_recur_set ? "_Tentative all" : "_Tentative", GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
- set_one_button (view, is_recur_set ? "_Accept all" : "_Accept", GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
+ set_one_button (view, is_recur_set ? _("_Decline all") : _("_Decline"), GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
+ set_one_button (view, is_recur_set ? _("_Tentative all") : _("_Tentative"), GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
+ set_one_button (view, is_recur_set ? _("_Accept all") : _("_Accept"), GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
break;
case ITIP_VIEW_MODE_ADD:
- set_one_button (view, "_Decline", GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
- set_one_button (view, "_Tentative", GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
- set_one_button (view, "_Accept", GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
+ set_one_button (view, _("_Decline"), GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
+ set_one_button (view, _("_Tentative"), GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
+ set_one_button (view, _("_Accept"), GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
break;
case ITIP_VIEW_MODE_REFRESH:
/* FIXME Is this really the right button? */
- set_one_button (view, "_Send Information", GTK_STOCK_REFRESH, ITIP_VIEW_RESPONSE_REFRESH);
+ set_one_button (view, _("_Send Information"), GTK_STOCK_REFRESH, ITIP_VIEW_RESPONSE_REFRESH);
break;
case ITIP_VIEW_MODE_REPLY:
/* FIXME Is this really the right button? */
- set_one_button (view, "_Update Attendee Status", GTK_STOCK_REFRESH, ITIP_VIEW_RESPONSE_UPDATE);
+ set_one_button (view, _("_Update Attendee Status"), GTK_STOCK_REFRESH, ITIP_VIEW_RESPONSE_UPDATE);
break;
case ITIP_VIEW_MODE_CANCEL:
- set_one_button (view, "_Update", GTK_STOCK_REFRESH, ITIP_VIEW_RESPONSE_CANCEL);
+ set_one_button (view, _("_Update"), GTK_STOCK_REFRESH, ITIP_VIEW_RESPONSE_CANCEL);
break;
case ITIP_VIEW_MODE_COUNTER:
- set_one_button (view, "_Decline", GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
- set_one_button (view, "_Tentative", GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
- set_one_button (view, "_Accept", GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
+ set_one_button (view, _("_Decline"), GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
+ set_one_button (view, _("_Tentative"), GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
+ set_one_button (view, _("_Accept"), GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
break;
case ITIP_VIEW_MODE_DECLINECOUNTER:
- set_one_button (view, "_Decline", GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
- set_one_button (view, "_Tentative", GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
- set_one_button (view, "_Accept", GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
+ set_one_button (view, _("_Decline"), GTK_STOCK_CANCEL, ITIP_VIEW_RESPONSE_DECLINE);
+ set_one_button (view, _("_Tentative"), GTK_STOCK_DIALOG_QUESTION, ITIP_VIEW_RESPONSE_TENTATIVE);
+ set_one_button (view, _("_Accept"), GTK_STOCK_APPLY, ITIP_VIEW_RESPONSE_ACCEPT);
break;
default:
break;