aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-12-14 02:23:31 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-12-14 02:23:31 +0800
commitcda4109744c046a8f780ab6114d790ed014f86a6 (patch)
treeebc0f0818caa3c349467ca0f28655d12799f5441 /calendar
parentc73bf5eaa749b85c3b06038a4898b006bdf7491e (diff)
downloadgsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.gz
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.bz2
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.lz
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.xz
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.tar.zst
gsoc2013-evolution-cda4109744c046a8f780ab6114d790ed014f86a6.zip
** Fixes bug 474651
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 svn path=/trunk/; revision=34694
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/comp-editor-factory.c10
-rw-r--r--calendar/gui/e-cal-model-tasks.c2
-rw-r--r--calendar/gui/e-itip-control.c2
-rw-r--r--calendar/gui/memos-component.c2
-rw-r--r--calendar/gui/tasks-component.c2
-rw-r--r--calendar/gui/tasks-control.c1
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);