682 |
|
|
683 |
primary = g_strdup_printf (_("Save changes to \"%s\"?"), |
primary = g_strdup_printf (_("Save changes to \"%s\"?"), |
684 |
FPROPS(CurrentPage, BaseName)); |
FPROPS(CurrentPage, BaseName)); |
685 |
secondary = g_strdup_printf (_("If you close without saving, changes from the past %s will be discarded."), time_str); |
secondary = g_strdup_printf (_("If you close without saving, changes from the last %s will be discarded."), time_str); |
686 |
dialog = alert_new (GTK_WINDOW(MainWindow), GTK_STOCK_DIALOG_WARNING, |
dialog = alert_new (GTK_WINDOW(MainWindow), GTK_STOCK_DIALOG_WARNING, |
687 |
primary, secondary); |
primary, secondary); |
688 |
gtk_dialog_add_buttons (GTK_DIALOG (dialog), _("_Close without saving"), 1, |
gtk_dialog_add_buttons (GTK_DIALOG (dialog), _("Close _without saving"), 1, |
689 |
GTK_STOCK_CANCEL, 2, GTK_STOCK_SAVE, 3, NULL); |
GTK_STOCK_CANCEL, 2, GTK_STOCK_SAVE, 3, NULL); |
690 |
gtk_dialog_set_default_response (GTK_DIALOG (dialog), 3); |
gtk_dialog_set_default_response (GTK_DIALOG (dialog), 3); |
691 |
response = gtk_dialog_run (GTK_DIALOG (dialog)); |
response = gtk_dialog_run (GTK_DIALOG (dialog)); |