diff options
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 2 | ||||
-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 | ||||
-rw-r--r-- | widgets/misc/e-cell-percent.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.c | 4 |
10 files changed, 28 insertions, 13 deletions
@@ -1,3 +1,17 @@ +2007-12-13 Tobias Mueller <tobiasmue@svn.gnome.org> + + ** Fixes bug 474651 + * calendar/gui/memos-component.c: + * addressbook/gui/component/addressbook.c: + * calendar/gui/tasks-control.c: + * calendar/gui/tasks-component.c: + * widgets/misc/e-dateedit.c: + * calendar/gui/e-cal-model-tasks.c: + * widgets/misc/e-cell-percent.c: + * calendar/gui/e-itip-control.c: + * calendar/gui/comp-editor-factory.c: + Use format strings in gtk_message_dialog_new + 2007-12-10 Tobias Mueller <tobiasmue@svn.gnome.org> ** Fixes bug 474651 diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 0649b02f43..06e5b4cd2c 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -96,7 +96,7 @@ load_source_auth_cb (EBook *book, EBookStatus status, gpointer closure) 0, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - _("Accessing LDAP Server anonymously")); + "%s", _("Accessing LDAP Server anonymously")); g_signal_connect (dialog, "response", G_CALLBACK(gtk_widget_destroy), NULL); gtk_widget_show (dialog); if (data->cb) 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); diff --git a/widgets/misc/e-cell-percent.c b/widgets/misc/e-cell-percent.c index f8336812b4..353721c59f 100644 --- a/widgets/misc/e-cell-percent.c +++ b/widgets/misc/e-cell-percent.c @@ -76,7 +76,7 @@ show_percent_warning (void) dialog = gtk_message_dialog_new ( NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - _("The percent value must be between 0 and 100, inclusive")); + "%s", _("The percent value must be between 0 and 100, inclusive")); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); } diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 206f1d7211..60aa752ceb 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -1638,7 +1638,7 @@ on_date_entry_focus_out (GtkEntry *entry, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - _("Invalid Date Value")); + "%s", _("Invalid Date Value")); gtk_dialog_run (GTK_DIALOG(msg_dialog)); gtk_widget_destroy (msg_dialog); e_date_edit_get_date (dedit,&tmp_tm.tm_year,&tmp_tm.tm_mon,&tmp_tm.tm_mday); @@ -1664,7 +1664,7 @@ on_time_entry_focus_out (GtkEntry *entry, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - _("Invalid Time Value")); + "%s", _("Invalid Time Value")); gtk_dialog_run (GTK_DIALOG(msg_dialog)); gtk_widget_destroy (msg_dialog); e_date_edit_set_time (dedit,e_date_edit_get_time(dedit)); |