diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
commit | 9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch) | |
tree | 79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/diff.c | |
parent | d3a117814d6acbf0dca3eff1a7626843b9b3734a (diff) | |
download | vim-git-9d00e4a8146862c17ed429dc6b1b43349acb2b5f.tar.gz |
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.c b/src/diff.c index fa2ab41f8..5a9819612 100644 --- a/src/diff.c +++ b/src/diff.c @@ -1096,7 +1096,7 @@ check_external_diff(diffio_T *diffio) if (!ok) { if (io_error) - emsg(_("E810: Cannot read or write temp files")); + emsg(_(e_cannot_read_or_write_temp_files)); emsg(_(e_cannot_create_diffs)); diff_a_works = MAYBE; #if defined(MSWIN) @@ -1337,7 +1337,7 @@ ex_diffpatch(exarg_T *eap) // Only continue if the output file was created. if (mch_stat((char *)tmp_new, &st) < 0 || st.st_size == 0) - emsg(_("E816: Cannot read patch output")); + emsg(_(e_cannot_read_patch_output)); else { if (curbuf->b_fname != NULL) |