summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-02 18:10:04 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-02 18:10:04 +0000
commita9fa8c58fbcc5cf8850f6963c509de272f4d4bbf (patch)
tree891f3c44b937d7a4a7492b83826ca114c31f22ff /src/eval.c
parentdc4daa3a3915fba11ac87d27977240d9a5e0d47d (diff)
patch 9.0.1133: error message names do not match the itemsv9.0.1133
Problem: Error message names do not match the items. Solution: Add "_str" when the text contains "%s".
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c
index 9ffd506a4b..2fbd867aba 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1183,7 +1183,7 @@ get_lval(
if (vim9script && (flags & GLV_NO_DECL) == 0)
{
if (!quiet)
- semsg(_(e_variable_already_declared), lp->ll_name);
+ semsg(_(e_variable_already_declared_str), lp->ll_name);
return NULL;
}
@@ -1413,7 +1413,7 @@ get_lval(
if (*p == '[' || *p == '.' || unlet)
{
if (!quiet)
- semsg(_(e_key_not_present_in_dictionary), key);
+ semsg(_(e_key_not_present_in_dictionary_str), key);
clear_tv(&var1);
return NULL;
}
@@ -1717,7 +1717,7 @@ set_var_lval(
{
if (op != NULL && *op != '=')
{
- semsg(_(e_key_not_present_in_dictionary), lp->ll_newkey);
+ semsg(_(e_key_not_present_in_dictionary_str), lp->ll_newkey);
return;
}
if (dict_wrong_func_name(lp->ll_tv->vval.v_dict, rettv,
@@ -4968,7 +4968,7 @@ eval_index_inner(
{
if (keylen > 0)
key[keylen] = NUL;
- semsg(_(e_key_not_present_in_dictionary), key);
+ semsg(_(e_key_not_present_in_dictionary_str), key);
}
return FAIL;
}