summaryrefslogtreecommitdiffstats
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
commit460ae5dfca31fa627531c263184849976755cf6b (patch)
treed94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/mbyte.c
parentb37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff)
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index bbbb5066d0..e9febcb98b 100644
--- 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, typval_T *rettv UNUSED)
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;