patch 8.2.4008: 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-05 16:09:06 +00:00
parent 8e7d9db32b
commit 677658ae49
28 changed files with 187 additions and 76 deletions

View File

@ -320,7 +320,7 @@ ex_profile(exarg_T *eap)
set_vim_var_nr(VV_PROFILING, 1L);
}
else if (do_profiling == PROF_NONE)
emsg(_("E750: First use \":profile start {fname}\""));
emsg(_(e_first_use_profile_start_fname));
else if (STRCMP(eap->arg, "pause") == 0)
{
if (do_profiling == PROF_YES)