Mercurial > vim
diff src/textprop.c @ 31602:53c3df37a2b0 v9.0.1133
patch 9.0.1133: error message names do not match the items
Commit: https://github.com/vim/vim/commit/a9fa8c58fbcc5cf8850f6963c509de272f4d4bbf
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 18:10:04 2023 +0000
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".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 02 Jan 2023 19:15:04 +0100 |
parents | 966c87c57912 |
children | 0d27ddce621d |
line wrap: on
line diff
--- a/src/textprop.c +++ b/src/textprop.c @@ -98,7 +98,7 @@ lookup_prop_type(char_u *name, buf_T *bu 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; } }