1
0
forked from aniani/vim

patch 8.2.3986: 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-02 20:20:45 +00:00
parent ac78dd4a35
commit b09feaa86e
18 changed files with 141 additions and 69 deletions

View File

@@ -689,7 +689,7 @@ parse_compl_arg(
if (arg != NULL)
# endif
{
emsg(_("E468: Completion argument only allowed for custom completion"));
emsg(_(e_completion_argument_only_allowed_for_custom_completion));
return FAIL;
}
@@ -697,7 +697,7 @@ parse_compl_arg(
if ((*complp == EXPAND_USER_DEFINED || *complp == EXPAND_USER_LIST)
&& arg == NULL)
{
emsg(_("E467: Custom completion requires a function argument"));
emsg(_(e_custom_completion_requires_function_argument));
return FAIL;
}