summaryrefslogtreecommitdiff
path: root/src/ex_cmds.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/ex_cmds.c
parentb37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff)
downloadvim-git-460ae5dfca31fa627531c263184849976755cf6b.tar.gz
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/ex_cmds.c')
-rw-r--r--src/ex_cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 25c1c8b2e..ae9d73fa3 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1137,7 +1137,7 @@ do_filter(
if ((do_in && (itmp = vim_tempname('i', FALSE)) == NULL)
|| (do_out && (otmp = vim_tempname('o', FALSE)) == NULL))
{
- emsg(_(e_notmp));
+ emsg(_(e_cant_get_temp_file_name));
goto filterend;
}
@@ -1154,7 +1154,7 @@ do_filter(
#if defined(FEAT_EVAL)
if (!aborting())
#endif
- (void)semsg(_(e_notcreate), itmp); // will call wait_return
+ (void)semsg(_(e_cant_create_file_str), itmp); // will call wait_return
goto filterend;
}
if (curbuf != old_curbuf)
@@ -1229,7 +1229,7 @@ do_filter(
#endif
{
msg_putchar('\n');
- semsg(_(e_notread), otmp);
+ semsg(_(e_cant_read_file_str), otmp);
}
goto error;
}
@@ -4780,7 +4780,7 @@ outofmem:
else if (got_match) // did find something but nothing substituted
msg("");
else if (subflags.do_error) // nothing found
- semsg(_(e_patnotf2), get_search_pat());
+ semsg(_(e_pattern_not_found_str), get_search_pat());
}
#ifdef FEAT_FOLDING