Commit e9ee078c authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

End exhorting status-bar messages with a period, to avoid

the impression that something is missing.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4596 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 10 additions and 6 deletions
+10 -6
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.
......
......@@ -452,7 +452,7 @@ void do_undo(void)
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
......@@ -554,7 +554,7 @@ void do_undo(void)
break;
default:
undidmsg = _("Internal error: unknown type. Please save your work");
undidmsg = _("Internal error: unknown type. Please save your work.");
break;
}
......@@ -579,7 +579,7 @@ void do_redo(void)
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;
}
......@@ -590,7 +590,7 @@ void do_redo(void)
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
......@@ -668,7 +668,7 @@ void do_redo(void)
openfile->placewewant = xplustabs();
break;
default:
undidmsg = _("Internal error: unknown type. Please save your work");
undidmsg = _("Internal error: unknown type. Please save your work.");
break;
}
......@@ -943,7 +943,7 @@ void add_undo(undo_type current_action)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment