diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-04 21:30:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-04 21:30:47 +0000 |
commit | a6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch) | |
tree | dff539628404695bd64e68602c8f7f62d9dd12f7 /src/list.c | |
parent | 548911ee145cdd166f20e46aa720d1631e66f64e (diff) | |
download | vim-git-a6f7929e62c19a6a2418a016b4c59b83eb1887ac.tar.gz |
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list.c b/src/list.c index aadc7233d..226d25d2e 100644 --- a/src/list.c +++ b/src/list.c @@ -1542,7 +1542,7 @@ eval_list(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int do_error) semsg(_(e_no_white_space_allowed_before_str_str), ",", *arg); else - semsg(_("E696: Missing comma in List: %s"), *arg); + semsg(_(e_missing_comma_in_list_str), *arg); } goto failret; } @@ -2002,7 +2002,7 @@ do_sort(list_T *l, sortinfo_T *info) || info->item_compare_partial != NULL) && item_compare2((void *)&ptrs[0], (void *)&ptrs[1]) == ITEM_COMPARE_FAIL) - emsg(_("E702: Sort compare function failed")); + emsg(_(e_sort_compare_function_failed)); else { // Sort the array with item pointers. |