diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/comp-editor-factory.c | 10 | ||||
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-itip-control.c | 2 | ||||
-rw-r--r-- | calendar/gui/memos-component.c | 2 | ||||
-rw-r--r-- | calendar/gui/tasks-component.c | 2 | ||||
-rw-r--r-- | calendar/gui/tasks-control.c | 1 |
6 files changed, 10 insertions, 9 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c index a7f6a3b493..6643d49ecd 100644 --- a/calendar/gui/comp-editor-factory.c +++ b/calendar/gui/comp-editor-factory.c @@ -401,31 +401,31 @@ cal_opened_cb (ECal *client, ECalendarStatus status, gpointer data) case E_CALENDAR_STATUS_NO_SUCH_CALENDAR: dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - _("Error while opening the calendar")); + "%s", _("Error while opening the calendar")); break; case E_CALENDAR_STATUS_PROTOCOL_NOT_SUPPORTED: dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - _("Method not supported when opening the calendar")); + "%s", _("Method not supported when opening the calendar")); break; case E_CALENDAR_STATUS_PERMISSION_DENIED : dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - _("Permission denied to open the calendar")); + "%s", _("Permission denied to open the calendar")); break; case E_CALENDAR_STATUS_AUTHENTICATION_FAILED : dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - _("Authentication Failed")); + "%s", _("Authentication Failed")); break; default: dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - _("Unknown error")); + "%s", _("Unknown error")); return; } diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index b74283e328..a0caef3adc 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -608,7 +608,7 @@ show_geo_warning (void) GtkWidget *dialog; dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - _("The geographical position must be entered " + "%s", _("The geographical position must be entered " "in the format: \n\n45.436845,125.862501")); gtk_widget_show (dialog); } diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 0142968b8a..2a46a0bc90 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -1951,7 +1951,7 @@ update_item (EItipControl *itip) NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, - _("Update complete\n")); + "%s", _("Update complete\n")); } gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c index 534d31ec71..801fe1cf40 100644 --- a/calendar/gui/memos-component.c +++ b/calendar/gui/memos-component.c @@ -963,7 +963,7 @@ setup_create_ecal (MemosComponent *component, MemosComponentView *component_view dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - _("There is no calendar available for creating memos")); + "%s", _("There is no calendar available for creating memos")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 3ff57e4411..4b998f3afa 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -951,7 +951,7 @@ setup_create_ecal (TasksComponent *component, TasksComponentView *component_view dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - _("There is no calendar available for creating tasks")); + "%s", _("There is no calendar available for creating tasks")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c index 5c0b89e3f8..7ef1f016c1 100644 --- a/calendar/gui/tasks-control.c +++ b/calendar/gui/tasks-control.c @@ -451,6 +451,7 @@ confirm_purge (ETasks *tasks) GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, + "%s", _("This operation will permanently erase all tasks marked as completed. If you continue, you will not be able to recover these tasks.\n\nReally erase these tasks?")); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_NO); |