Mercurial > vim
comparison src/term.c @ 26917:d91aea2a612c v8.2.3987
patch 8.2.3987: error messages are spread out
Commit: https://github.com/vim/vim/commit/1d423ef75fc8bce2edfd2aab61cc9beaa63e31aa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 21:26:16 2022 +0000
patch 8.2.3987: 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 | Sun, 02 Jan 2022 22:30:04 +0100 |
parents | d4e61d61afd9 |
children | 671664c5faa4 |
comparison
equal
deleted
inserted
replaced
26916:f0c665c309f4 | 26917:d91aea2a612c |
---|---|
2220 // hang. | 2220 // hang. |
2221 (void)TGETENT(tbuf, "dumb"); | 2221 (void)TGETENT(tbuf, "dumb"); |
2222 | 2222 |
2223 if (i < 0) | 2223 if (i < 0) |
2224 # ifdef TGETENT_ZERO_ERR | 2224 # ifdef TGETENT_ZERO_ERR |
2225 return _("E557: Cannot open termcap file"); | 2225 return _(e_cannot_open_termcap_file); |
2226 if (i == 0) | 2226 if (i == 0) |
2227 # endif | 2227 # endif |
2228 #ifdef TERMINFO | 2228 #ifdef TERMINFO |
2229 return _("E558: Terminal entry not found in terminfo"); | 2229 return _(e_terminal_entry_not_found_in_terminfo); |
2230 #else | 2230 #else |
2231 return _("E559: Terminal entry not found in termcap"); | 2231 return _(e_terminal_entry_not_found_in_termcap); |
2232 #endif | 2232 #endif |
2233 } | 2233 } |
2234 return NULL; | 2234 return NULL; |
2235 } | 2235 } |
2236 | 2236 |