diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
commit | 9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch) | |
tree | 79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/textprop.c | |
parent | d3a117814d6acbf0dca3eff1a7626843b9b3734a (diff) | |
download | vim-git-9d00e4a8146862c17ed429dc6b1b43349acb2b5f.tar.gz |
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |