0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.3975: 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-01 19:33:50 +00:00
parent 1f4a3457a3
commit cbadefe25a
14 changed files with 104 additions and 34 deletions

View File

@@ -308,7 +308,7 @@ ex_cstag(exarg_T *eap)
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 @@ cs_find_common(
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;
}