summaryrefslogtreecommitdiff
path: root/src/typval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 16:09:06 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 16:09:06 +0000
commit677658ae49de31fe2e5b1fa6d93fdfab85a4362e (patch)
treef5f0bbdda081ce1dad3bcaf7f4e6cf3281774cac /src/typval.c
parent8e7d9db32b53ca2b1cb7570d2042860bcd1e943f (diff)
downloadvim-git-677658ae49de31fe2e5b1fa6d93fdfab85a4362e.tar.gz
patch 8.2.4008: error messages are spread outv8.2.4008
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/typval.c')
-rw-r--r--src/typval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/typval.c b/src/typval.c
index 2ffc4ab08..564cc50e3 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -209,7 +209,7 @@ tv_get_bool_or_number_chk(typval_T *varp, int *denote, int want_bool)
STR2NR_ALL, &n, NULL, 0, FALSE);
return n;
case VAR_LIST:
- emsg(_("E745: Using a List as a Number"));
+ emsg(_(e_using_list_as_number));
break;
case VAR_DICT:
emsg(_(e_using_dictionary_as_number));