Mercurial > vim
diff src/arglist.c @ 26863:6ee19c6ae8a2 v8.2.3960
patch 8.2.3960: error messages are spread out
Commit: https://github.com/vim/vim/commit/f1474d801bbdb73406dd3d1f931f515f99e86dfa
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 31 19:59:55 2021 +0000
patch 8.2.3960: 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 | Fri, 31 Dec 2021 21:15:02 +0100 |
parents | 2aeea8611342 |
children | bce848ec8b1b |
line wrap: on
line diff
--- a/src/arglist.c +++ b/src/arglist.c @@ -839,7 +839,7 @@ ex_argdelete(exarg_T *eap) { if (curwin->w_arg_idx >= ARGCOUNT) { - emsg(_("E610: No argument to delete")); + emsg(_(e_no_argument_to_delete)); return; } eap->line1 = eap->line2 = curwin->w_arg_idx + 1; @@ -1129,7 +1129,7 @@ do_arg_all( else if (wpnext->w_frame->fr_parent != curwin->w_frame->fr_parent) { - emsg(_("E249: window layout changed unexpectedly")); + emsg(_(e_window_layout_changed_unexpectedly)); i = count; break; }