1
0
forked from aniani/vim

patch 8.2.3977: 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 21:59:18 +00:00
parent b34689010a
commit 9a846fbaa5
20 changed files with 147 additions and 43 deletions

View File

@@ -636,7 +636,7 @@ cs_cnt_connections(void)
cs_reading_emsg(
int idx) // connection index
{
semsg(_("E262: error reading cscope connection %d"), idx);
semsg(_(e_error_reading_cscope_connection_nr), idx);
}
#define CSREAD_BUFSIZE 2048
@@ -1497,7 +1497,7 @@ cs_kill(exarg_T *eap UNUSED)
if ((i != -1) && (i >= csinfo_size || i < -1 || csinfo[i].fname == NULL))
{
if (p_csverbose)
(void)semsg(_("E261: cscope connection %s not found"), stok);
(void)semsg(_(e_cscope_connection_str_not_founc), stok);
}
else
{