From 9d00e4a8146862c17ed429dc6b1b43349acb2b5f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 5 Jan 2022 17:49:15 +0000 Subject: patch 8.2.4010: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h. --- src/textprop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textprop.c') diff --git a/src/textprop.c b/src/textprop.c index c28d4e42a..1f039080a 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -801,7 +801,7 @@ f_prop_find(typval_T *argvars, typval_T *rettv) } 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 @@ f_prop_remove(typval_T *argvars, typval_T *rettv) } if (both && (id == -1 || type_id == -1)) { - emsg(_("E860: Need 'id' and 'type' with 'both'")); + emsg(_(e_need_id_and_type_with_both)); return; } -- cgit v1.2.1