patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
diff --git a/src/profiler.c b/src/profiler.c
index 0aec862..00350ca 100644
--- a/src/profiler.c
+++ b/src/profiler.c
@@ -320,7 +320,7 @@
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)