diff options
Diffstat (limited to 'calendar/gui/dialogs/send-comp.c')
-rw-r--r-- | calendar/gui/dialogs/send-comp.c | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c index 8fe62e77b3..2afd92320e 100644 --- a/calendar/gui/dialogs/send-comp.c +++ b/calendar/gui/dialogs/send-comp.c @@ -42,7 +42,7 @@ * Return value: TRUE if the user clicked Yes, FALSE otherwise. **/ gboolean -send_component_dialog (CalComponent *comp) +send_component_dialog (CalComponent *comp, gboolean new) { GtkWidget *dialog; CalComponentVType vtype; @@ -52,18 +52,24 @@ send_component_dialog (CalComponent *comp) switch (vtype) { case CAL_COMPONENT_EVENT: - str = g_strdup_printf (_("The meeting information has changed. " - "Send an updated version?")); + if (new) + str = g_strdup_printf (_("The meeting information has " + "been created. Send it?")); + else + str = g_strdup_printf (_("The meeting information has " + "changed. Send an updated " + "version?")); break; case CAL_COMPONENT_TODO: - str = g_strdup_printf (_("The task information has changed. " - "Send an updated version?")); - break; - - case CAL_COMPONENT_JOURNAL: - str = g_strdup_printf (_("The journal entry has changed. " - "Send an updated version?")); + if (new) + str = g_strdup_printf (_("The task assignment " + "information has been " + "created. Send it?")); + else + str = g_strdup_printf (_("The task information has " + "changed. Send an updated " + "version?")); break; default: |