1
0
forked from aniani/vim

patch 9.0.1133: error message names do not match the items

Problem:    Error message names do not match the items.
Solution:   Add "_str" when the text contains "%s".
This commit is contained in:
Bram Moolenaar
2023-01-02 18:10:04 +00:00
parent dc4daa3a39
commit a9fa8c58fb
16 changed files with 62 additions and 59 deletions

View File

@@ -98,7 +98,7 @@ lookup_prop_type(char_u *name, buf_T *buf)
if (type == NULL)
type = find_prop_type(name, NULL);
if (type == NULL)
semsg(_(e_type_not_exist), name);
semsg(_(e_property_type_str_does_not_exist), name);
return type;
}
@@ -1825,7 +1825,7 @@ prop_type_set(typval_T *argvars, int add)
{
if (prop == NULL)
{
semsg(_(e_type_not_exist), name);
semsg(_(e_property_type_str_does_not_exist), name);
return;
}
}