aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/delete-comp.c11
2 files changed, 10 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ffa1c64e0f..2992aca0f0 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2000-12-22 JP Rosevear <jpr@helixcode.com>
+ * gui/dialogs/delete-comp.c (delete_component_dialog): Clean up
+ translatable strings for translators, fixes bug 993
+
+2000-12-22 JP Rosevear <jpr@helixcode.com>
+
* gui/goto.c (create_ecal): Make sure the current month is shown
when the dialog pops up.
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c
index d61b26a677..6133e0d908 100644
--- a/calendar/gui/dialogs/delete-comp.c
+++ b/calendar/gui/dialogs/delete-comp.c
@@ -54,15 +54,15 @@ delete_component_dialog (CalComponent *comp)
switch (vtype) {
case CAL_COMPONENT_EVENT:
- type = _("appointment");
+ type = _("Are you sure you want to delete the appointment");
break;
case CAL_COMPONENT_TODO:
- type = _("task");
+ type = _("Are you sure you want to delete the task");
break;
case CAL_COMPONENT_JOURNAL:
- type = _("journal entry");
+ type = _("Are you sure you want to delete the journal entry");
break;
default:
@@ -71,10 +71,9 @@ delete_component_dialog (CalComponent *comp)
}
if (summary.value)
- str = g_strdup_printf (_("Are you sure you want to delete the %s `%s'?"),
- type, summary.value);
+ str = g_strdup_printf ("%s `%s'?", type, summary.value);
else
- str = g_strdup_printf (_("Are you sure you want to delete this %s?"), type);
+ str = g_strdup_printf ("%s?", type);
dialog = gnome_question_dialog_modal (str, NULL, NULL);
g_free (str);