summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 20:24:39 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 20:24:39 +0000
commitd82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf (patch)
tree604109254c7057942fce5c1af26fdd1bc36c066f /src/ex_cmds2.c
parentbb8cac56d9c398a2b546d9c81c15e8c3d8fd811e (diff)
downloadvim-git-d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf.tar.gz
patch 8.2.4012: error messages are spread outv8.2.4012
Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index d2b45ab5c..db82277ac 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -363,8 +363,7 @@ check_changed_any(
if (
#ifdef FEAT_TERMINAL
term_job_running(buf->b_term)
- ? semsg(_("E947: Job still running in buffer \"%s\""),
- buf->b_fname)
+ ? semsg(_(e_job_still_running_in_buffer_str), buf->b_fname)
:
#endif
semsg(_(e_no_write_since_last_change_for_buffer_str),