mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4010: error messages are spread out
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user