1
0
forked from aniani/vim

patch 8.2.3975: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-01 19:33:50 +00:00
parent 1f4a3457a3
commit cbadefe25a
14 changed files with 104 additions and 34 deletions

View File

@@ -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;