summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 20:20:45 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 20:20:45 +0000
commitb09feaa86ecc53b9b953710082496951776dc5c6 (patch)
tree0baf02c96c94c26072e9afdb833e638c3ab1a9cb /src/netbeans.c
parentac78dd4a352196ca4e6640f8e4caaf126afd49e3 (diff)
downloadvim-git-b09feaa86ecc53b9b953710082496951776dc5c6.tar.gz
patch 8.2.3986: error messages are spread outv8.2.3986
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 00be244fb..5bdb8680d 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -2515,7 +2515,7 @@ netbeans_open(char *params, int doabort)
if (NETBEANS_OPEN)
{
- emsg(_("E511: netbeans already connected"));
+ emsg(_(e_netbeans_already_connected));
return;
}
@@ -3481,7 +3481,7 @@ print_save_msg(nbbuf_T *buf, off_T nchars)
char msgbuf[IOSIZE];
vim_snprintf(msgbuf, IOSIZE,
- _("E505: %s is read-only (add ! to override)"), IObuff);
+ _(e_is_read_only_add_bang_to_override), IObuff);
nbdebug((" %s\n", msgbuf));
emsg(msgbuf);
}