summaryrefslogtreecommitdiff
path: root/src/vim9script.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/vim9script.c
parentdc4daa3a3915fba11ac87d27977240d9a5e0d47d (diff)
downloadvim-git-a9fa8c58fbcc5cf8850f6963c509de272f4d4bbf.tar.gz
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/vim9script.c')
-rw-r--r--src/vim9script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9script.c b/src/vim9script.c
index feb9b18aa..63eed4bf5 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -1138,7 +1138,7 @@ check_reserved_name(char_u *name, cctx_T *cctx)
&& cctx->ctx_ufunc != NULL
&& (cctx->ctx_ufunc->uf_flags & FC_OBJECT)))
{
- semsg(_(e_cannot_use_reserved_name), name);
+ semsg(_(e_cannot_use_reserved_name_str), name);
return FAIL;
}
return OK;