Mercurial > vim
diff src/buffer.c @ 25306:078edc1821bf v8.2.3190
patch 8.2.3190: error messages are spread out
Commit: https://github.com/vim/vim/commit/e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 20 21:07:36 2021 +0200
patch 8.2.3190: error messages are spread out
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 20 Jul 2021 21:15:05 +0200 |
parents | 2d3660601fdb |
children | ac88cd21ae88 |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -1942,7 +1942,7 @@ no_write_message(void) emsg(_("E948: Job still running (add ! to end the job)")); else #endif - emsg(_("E37: No write since last change (add ! to override)")); + emsg(_(e_no_write_since_last_change_add_bang_to_override)); } void @@ -1953,7 +1953,7 @@ no_write_message_nobang(buf_T *buf UNUSE emsg(_("E948: Job still running")); else #endif - emsg(_("E37: No write since last change")); + emsg(_(e_no_write_since_last_change)); } /*