patch 8.2.3975: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
diff --git a/src/if_cscope.c b/src/if_cscope.c
index c7bd9e3..9153831 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -308,7 +308,7 @@
if (!ret)
{
- (void)emsg(_("E257: cstag: tag not found"));
+ (void)emsg(_(e_cstag_tag_not_founc));
#if defined(FEAT_QUICKFIX)
g_do_tagpreview = 0;
#endif
@@ -1160,7 +1160,8 @@
if (totmatches == 0)
{
if (verbose)
- (void)semsg(_("E259: no matches found for cscope query %s of %s"), opt, pat);
+ (void)semsg(_(e_no_matches_found_for_cscope_query_str_of_str),
+ opt, pat);
vim_free(nummatches);
return FALSE;
}