patch 8.2.3977: 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 9153831..dbaa960 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -636,7 +636,7 @@
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 @@
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
{