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

@@ -547,7 +547,7 @@ gui_init(void)
if (STRCMP(use_gvimrc, "NONE") != 0
&& STRCMP(use_gvimrc, "NORC") != 0
&& do_source(use_gvimrc, FALSE, DOSO_NONE, NULL) != OK)
semsg(_("E230: Cannot read from \"%s\""), use_gvimrc);
semsg(_(e_cannot_read_from_str), use_gvimrc);
}
else
{
@@ -686,7 +686,7 @@ gui_init(void)
goto error2;
}
if (gui_get_wide_font() == FAIL)
emsg(_("E231: 'guifontwide' invalid"));
emsg(_(e_guifontwide_invalid));
gui.num_cols = Columns;
gui.num_rows = Rows;