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

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

@@ -1415,7 +1415,7 @@ get_lambda_tv(
*arg = skipwhite_and_linebreak(*arg, evalarg);
if (**arg != '}')
{
semsg(_("E451: Expected }: %s"), *arg);
semsg(_(e_expected_right_curly_str), *arg);
goto errret;
}
++*arg;
@@ -4001,7 +4001,7 @@ list_functions(regmatch_T *regmatch)
list_func_head(fp, FALSE);
if (changed != func_hashtab.ht_changed)
{
emsg(_("E454: function list was modified"));
emsg(_(e_function_list_was_modified));
return;
}
}