Mercurial > vim
diff src/diff.c @ 26958:d92e0d85923f v8.2.4008
patch 8.2.4008: error messages are spread out
Commit: https://github.com/vim/vim/commit/677658ae49de31fe2e5b1fa6d93fdfab85a4362e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 16:09:06 2022 +0000
patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 17:15:05 +0100 |
parents | 06a137af96f8 |
children | 85866e069c24 |
line wrap: on
line diff
--- a/src/diff.c +++ b/src/diff.c @@ -2682,7 +2682,7 @@ ex_diffgetput(exarg_T *eap) if (idx_other == DB_COUNT) { if (found_not_ma) - emsg(_("E793: No other buffer in diff mode is modifiable")); + emsg(_(e_no_other_buffer_in_diff_mode_is_modifiable)); else emsg(_(e_no_other_buffer_in_diff_mode)); return; @@ -2769,7 +2769,7 @@ ex_diffgetput(exarg_T *eap) change_warning(0); if (diff_buf_idx(curbuf) != idx_to) { - emsg(_("E787: Buffer changed unexpectedly")); + emsg(_(e_buffer_changed_unexpectedly)); goto theend; } }