summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
commit74409f62790a93daf0965c71da01ff76aa0fa5a5 (patch)
treeece55c806dc6fe451d24af66008ae1444d81d73d /src/ex_cmds.c
parent56200eed62e59ad831f6564dcafe346e6f97ac20 (diff)
patch 8.2.3970: error messages are spread outv8.2.3970
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index ae9d73fa37..b3ab214314 100644
--- 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;
}
}