0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3830: 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
2021-12-16 20:56:57 +00:00
parent 94c785d235
commit e124204c4f
19 changed files with 137 additions and 74 deletions

View File

@@ -2043,7 +2043,7 @@ check_digraph_chars_valid(int char1, int char2)
}
if (char1 == ESC || char2 == ESC)
{
emsg(_("E104: Escape not allowed in digraph"));
emsg(_(e_escape_not_allowed_in_digraph));
return FALSE;
}
return TRUE;
@@ -2622,7 +2622,7 @@ ex_loadkeymap(exarg_T *eap)
if (!getline_equal(eap->getline, eap->cookie, getsourceline))
{
emsg(_("E105: Using :loadkeymap not in a sourced file"));
emsg(_(e_using_loadkeymap_not_in_sourced_file));
return;
}