summaryrefslogtreecommitdiff
path: root/src/sign.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/sign.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/sign.c')
-rw-r--r--src/sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sign.c b/src/sign.c
index 42592a41c..1be1d13a2 100644
--- a/src/sign.c
+++ b/src/sign.c
@@ -1224,7 +1224,7 @@ sign_place(
}
else
{
- semsg(_("E885: Not possible to change sign %s"), sign_name);
+ semsg(_(e_not_possible_to_change_sign_str), sign_name);
return FAIL;
}
@@ -1307,7 +1307,7 @@ sign_jump(int sign_id, char_u *sign_group, buf_T *buf)
if (buf->b_fname == NULL)
{
- emsg(_("E934: Cannot jump to a buffer that does not have a name"));
+ emsg(_(e_cannot_jump_to_buffer_that_does_not_have_name));
return -1;
}
cmd = alloc(STRLEN(buf->b_fname) + 25);