summaryrefslogtreecommitdiff
path: root/src/if_xcmdsrv.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 19:33:50 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 19:33:50 +0000
commitcbadefe25a27ded93548eaa7a325d2a04bf55d7c (patch)
treec0411fb9bfe3e4728d319817f98841df6fc8c6d6 /src/if_xcmdsrv.c
parent1f4a3457a3e55cdacd70ab0d5be587c248fb1ce8 (diff)
downloadvim-git-cbadefe25a27ded93548eaa7a325d2a04bf55d7c.tar.gz
patch 8.2.3975: error messages are spread outv8.2.3975
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r--src/if_xcmdsrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index 25f63de8a..6e653c506 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -456,7 +456,7 @@ serverSendToVim(
vim_free(property);
if (res < 0)
{
- emsg(_("E248: Failed to send command to the destination program"));
+ emsg(_(e_failed_to_send_command_to_destination_program));
return -1;
}
@@ -1089,7 +1089,7 @@ GetRegProp(
XFree(*regPropp);
XDeleteProperty(dpy, RootWindow(dpy, 0), registryProperty);
if (domsg)
- emsg(_("E251: VIM instance registry property is badly formed. Deleted!"));
+ emsg(_(e_vim_instance_registry_property_is_badly_formed_deleted));
return FAIL;
}
return OK;