0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.4010: 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-05 17:49:15 +00:00
parent d3a117814d
commit 9d00e4a814
31 changed files with 200 additions and 87 deletions

View File

@@ -241,7 +241,7 @@ gui_do_fork(void)
pid = fork();
if (pid < 0) // Fork error
{
emsg(_("E851: Failed to create a new process for the GUI"));
emsg(_(e_failed_to_create_new_process_for_GUI));
return;
}
else if (pid > 0) // Parent
@@ -265,7 +265,7 @@ gui_do_fork(void)
# else
waitpid(pid, &exit_status, 0);
# endif
emsg(_("E852: The child process failed to start the GUI"));
emsg(_(e_the_child_process_failed_to_start_GUI));
return;
}
else if (status == GUI_CHILD_IO_ERROR)