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".
diff --git a/src/evalvars.c b/src/evalvars.c
index 389a9e4..e52f10b 100644
--- a/src/evalvars.c
+++ b/src/evalvars.c
@@ -1111,7 +1111,8 @@
if (vim9script && (flags & ASSIGN_NO_DECL) == 0)
{
// +=, /=, etc. require an existing variable
- semsg(_(e_cannot_use_operator_on_new_variable), eap->arg);
+ semsg(_(e_cannot_use_operator_on_new_variable_str),
+ eap->arg);
}
else if (vim_strchr((char_u *)"+-*/%.", *expr) != NULL)
{