0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4012: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move the last error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-05 20:24:39 +00:00
parent bb8cac56d9
commit d82a47dd04
34 changed files with 357 additions and 156 deletions

View File

@@ -1004,8 +1004,7 @@ item_end:
&& dict_find(top_item->jd_tv.vval.v_dict,
top_item->jd_key, -1) != NULL)
{
semsg(_("E938: Duplicate key in JSON: \"%s\""),
top_item->jd_key);
semsg(_(e_duplicate_key_in_json_str), top_item->jd_key);
clear_tv(cur_item);
retval = FAIL;
goto theend;