0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4005: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 21:30:47 +00:00
parent 548911ee14
commit a6f7929e62
25 changed files with 196 additions and 78 deletions

View File

@@ -6116,7 +6116,7 @@ vgr_process_args(
p = skipwhite(p);
if (*p == NUL)
{
emsg(_("E683: File name missing or invalid pattern"));
emsg(_(e_file_name_missing_or_invalid_pattern));
return FAIL;
}
@@ -7785,7 +7785,7 @@ cbuffer_process_args(
if (buf->b_ml.ml_mfp == NULL)
{
emsg(_("E681: Buffer is not loaded"));
emsg(_(e_buffer_is_not_loaded));
return FAIL;
}