mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4012: error messages are spread out
Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
This commit is contained in:
@@ -972,7 +972,7 @@ f_remote_startserver(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
|
||||
if (server == NULL)
|
||||
return; // type error; errmsg already given
|
||||
if (serverName != NULL)
|
||||
emsg(_("E941: already started a server"));
|
||||
emsg(_(e_already_started_server));
|
||||
else
|
||||
{
|
||||
# ifdef FEAT_X11
|
||||
@@ -983,7 +983,7 @@ f_remote_startserver(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
|
||||
# endif
|
||||
}
|
||||
#else
|
||||
emsg(_("E942: +clientserver feature not available"));
|
||||
emsg(_(e_clientserver_feature_not_available));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user