Mercurial > vim
diff src/os_win32.c @ 26877:06a137af96f8 v8.2.3967
patch 8.2.3967: error messages are spread out
Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 14:19:49 2022 +0000
patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 15:30:05 +0100 |
parents | fc859aea8cec |
children | d4e61d61afd9 |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -716,7 +716,7 @@ dyn_libintl_init(void) if (p_verbose > 0) { verbose_enter(); - semsg(_(e_loadlib), GETTEXT_DLL, GetWin32Error()); + semsg(_(e_could_not_load_library_str_str), GETTEXT_DLL, GetWin32Error()); verbose_leave(); } return 0; @@ -731,7 +731,7 @@ dyn_libintl_init(void) if (p_verbose > 0) { verbose_enter(); - semsg(_(e_loadfunc), libintl_entry[i].name); + semsg(_(e_could_not_load_library_function_str), libintl_entry[i].name); verbose_leave(); } return 0; @@ -5311,7 +5311,7 @@ mch_job_start(char *cmd, job_T *job, job &saAttr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL); if (ifd[0] == INVALID_HANDLE_VALUE) { - semsg(_(e_notopen), fname); + semsg(_(e_cant_open_file_str), fname); goto failed; } } @@ -5329,7 +5329,7 @@ mch_job_start(char *cmd, job_T *job, job &saAttr, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL); if (ofd[1] == INVALID_HANDLE_VALUE) { - semsg(_(e_notopen), fname); + semsg(_(e_cant_open_file_str), fname); goto failed; } } @@ -5347,7 +5347,7 @@ mch_job_start(char *cmd, job_T *job, job &saAttr, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL); if (efd[1] == INVALID_HANDLE_VALUE) { - semsg(_(e_notopen), fname); + semsg(_(e_cant_open_file_str), fname); goto failed; } }