Mercurial > vim
diff src/mbyte.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 | bce848ec8b1b |
children | d91aea2a612c |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -4907,7 +4907,7 @@ iconv_enabled(int verbose) if (verbose && p_verbose > 0) { verbose_enter(); - semsg(_(e_loadlib), + semsg(_(e_could_not_load_library_str_str), hIconvDLL == 0 ? DYNAMIC_ICONV_DLL : DYNAMIC_MSVCRT_DLL, GetWin32Error()); verbose_leave(); @@ -4930,7 +4930,7 @@ iconv_enabled(int verbose) if (verbose && p_verbose > 0) { verbose_enter(); - semsg(_(e_loadfunc), "for libiconv"); + semsg(_(e_could_not_load_library_function_str), "for libiconv"); verbose_leave(); } return FALSE; @@ -5524,7 +5524,7 @@ f_setcellwidths(typval_T *argvars, typva if (argvars[0].v_type != VAR_LIST || argvars[0].vval.v_list == NULL) { - emsg(_(e_listreq)); + emsg(_(e_list_required)); return; } l = argvars[0].vval.v_list;