+2014-02-23 Benno Schulenberg <bensberg@justemail.net>
+ * src/text.c (do_undo, do_redo, add_undo) - Make warning
+ sentences in the status bar consistently end in a period.
+
2014-02-22 Benno Schulenberg <bensberg@justemail.net>
* src/files.c (write_file) - Add a missing malloc.
Reported by an anonymous cross compiler, bug #30671.
for (; f->next != NULL && f->lineno != u->lineno; f = f->next)
;
if (f->lineno != u->lineno) {
- statusbar(_("Internal error: can't match line %d. Please save your work"), u->lineno);
+ statusbar(_("Internal error: can't match line %d. Please save your work."), u->lineno);
return;
}
#ifdef DEBUG
break;
default:
- undidmsg = _("Internal error: unknown type. Please save your work");
+ undidmsg = _("Internal error: unknown type. Please save your work.");
break;
}
return;
}
if (u->next != openfile->current_undo) {
- statusbar(_("Internal error: Redo setup failed. Please save your work"));
+ statusbar(_("Internal error: cannot set up redo. Please save your work."));
return;
}
for (; f->next != NULL && f->lineno != u->lineno; f = f->next)
;
if (f->lineno != u->lineno) {
- statusbar(_("Internal error: can't match line %d. Please save your work"), u->lineno);
+ statusbar(_("Internal error: can't match line %d. Please save your work."), u->lineno);
return;
}
#ifdef DEBUG
openfile->placewewant = xplustabs();
break;
default:
- undidmsg = _("Internal error: unknown type. Please save your work");
+ undidmsg = _("Internal error: unknown type. Please save your work.");
break;
}
break;
case UNCUT:
if (!last_cutu)
- statusbar(_("Internal error: can't setup uncut. Please save your work."));
+ statusbar(_("Internal error: cannot set up uncut. Please save your work."));
else if (last_cutu->type == CUT) {
u->cutbuffer = last_cutu->cutbuffer;
u->cutbottom = last_cutu->cutbottom;