Mercurial > vim
diff src/ex_cmds.c @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: 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 17:00:04 +0100 |
parents | 06a137af96f8 |
children | 3631d2deb36c |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3931,7 +3931,7 @@ ex_substitute(exarg_T *eap) i = getdigits(&cmd); if (i <= 0 && !eap->skip && subflags.do_error) { - emsg(_(e_zerocount)); + emsg(_(e_positive_count_required)); return; } eap->line1 = eap->line2; @@ -3949,7 +3949,7 @@ ex_substitute(exarg_T *eap) set_nextcmd(eap, cmd); if (eap->nextcmd == NULL) { - semsg(_(e_trailing_arg), cmd); + semsg(_(e_trailing_characters_str), cmd); return; } }