patch 8.2.3258: error messages have the wrong text
Problem: Error messages have the wrong text.
Solution: Adjust the error message.
diff --git a/src/typval.c b/src/typval.c
index fb527e9..e8ce4ea 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -718,7 +718,7 @@
&& args[idx].v_type != VAR_LIST)
{
if (idx >= 0)
- semsg(_(e_string_or_number_or_list_required_for_argument_nr), idx + 1);
+ semsg(_(e_string_number_or_list_required_for_argument_nr), idx + 1);
else
emsg(_(e_stringreq));
return FAIL;
@@ -749,7 +749,7 @@
&& args[idx].v_type != VAR_DICT)
{
if (idx >= 0)
- semsg(_(e_string_or_list_or_dict_required_for_argument_nr), idx + 1);
+ semsg(_(e_string_list_or_dict_required_for_argument_nr), idx + 1);
else
emsg(_(e_stringreq));
return FAIL;
@@ -804,7 +804,7 @@
&& args[idx].v_type != VAR_BLOB)
{
if (idx >= 0)
- semsg(_(e_list_or_dict_or_blob_required_for_argument_nr), idx + 1);
+ semsg(_(e_list_dict_or_blob_required_for_argument_nr), idx + 1);
else
emsg(_(e_listreq));
return FAIL;