Mercurial > vim
comparison src/if_cscope.c @ 26897:d02d40f0261c v8.2.3977
patch 8.2.3977: error messages are spread out
Commit: https://github.com/vim/vim/commit/9a846fbaa569b3690d70606f2a86e97f77a05496
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 21:59:18 2022 +0000
patch 8.2.3977: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 23:00:04 +0100 |
parents | 79c76ca2c53c |
children | 3631d2deb36c |
comparison
equal
deleted
inserted
replaced
26896:e58f8c38545d | 26897:d02d40f0261c |
---|---|
634 | 634 |
635 static void | 635 static void |
636 cs_reading_emsg( | 636 cs_reading_emsg( |
637 int idx) // connection index | 637 int idx) // connection index |
638 { | 638 { |
639 semsg(_("E262: error reading cscope connection %d"), idx); | 639 semsg(_(e_error_reading_cscope_connection_nr), idx); |
640 } | 640 } |
641 | 641 |
642 #define CSREAD_BUFSIZE 2048 | 642 #define CSREAD_BUFSIZE 2048 |
643 /* | 643 /* |
644 * Count the number of matches for a given cscope connection. | 644 * Count the number of matches for a given cscope connection. |
1495 } | 1495 } |
1496 | 1496 |
1497 if ((i != -1) && (i >= csinfo_size || i < -1 || csinfo[i].fname == NULL)) | 1497 if ((i != -1) && (i >= csinfo_size || i < -1 || csinfo[i].fname == NULL)) |
1498 { | 1498 { |
1499 if (p_csverbose) | 1499 if (p_csverbose) |
1500 (void)semsg(_("E261: cscope connection %s not found"), stok); | 1500 (void)semsg(_(e_cscope_connection_str_not_founc), stok); |
1501 } | 1501 } |
1502 else | 1502 else |
1503 { | 1503 { |
1504 if (i == -1) | 1504 if (i == -1) |
1505 { | 1505 { |