patch 8.2.4010: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
diff --git a/src/textprop.c b/src/textprop.c
index c28d4e4..1f03908 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -801,7 +801,7 @@
}
if (both && (!id_found || type_id == -1))
{
- emsg(_("E860: Need 'id' and 'type' with 'both'"));
+ emsg(_(e_need_id_and_type_with_both));
return;
}
@@ -1224,7 +1224,7 @@
}
if (both && (id == -1 || type_id == -1))
{
- emsg(_("E860: Need 'id' and 'type' with 'both'"));
+ emsg(_(e_need_id_and_type_with_both));
return;
}