0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4012: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move the last error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-05 20:24:39 +00:00
parent bb8cac56d9
commit d82a47dd04
34 changed files with 357 additions and 156 deletions

View File

@@ -1139,7 +1139,7 @@ diff_file_internal(diffio_T *diffio)
&diffio->dio_new.din_mmfile,
&param, &emit_cfg, &emit_cb) < 0)
{
emsg(_("E960: Problem creating the internal diff"));
emsg(_(e_problem_creating_internal_diff));
return FAIL;
}
return OK;
@@ -1733,7 +1733,7 @@ diff_read(
}
else
{
emsg(_("E959: Invalid diff format."));
emsg(_(e_invalid_diff_format));
break;
}
}