Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
31601:7282793ec66f | 31602:53c3df37a2b0 |
---|---|
96 proptype_T *type = find_prop_type(name, buf); | 96 proptype_T *type = find_prop_type(name, buf); |
97 | 97 |
98 if (type == NULL) | 98 if (type == NULL) |
99 type = find_prop_type(name, NULL); | 99 type = find_prop_type(name, NULL); |
100 if (type == NULL) | 100 if (type == NULL) |
101 semsg(_(e_type_not_exist), name); | 101 semsg(_(e_property_type_str_does_not_exist), name); |
102 return type; | 102 return type; |
103 } | 103 } |
104 | 104 |
105 /* | 105 /* |
106 * Get an optional "bufnr" item from the dict in "arg". | 106 * Get an optional "bufnr" item from the dict in "arg". |
1823 } | 1823 } |
1824 else | 1824 else |
1825 { | 1825 { |
1826 if (prop == NULL) | 1826 if (prop == NULL) |
1827 { | 1827 { |
1828 semsg(_(e_type_not_exist), name); | 1828 semsg(_(e_property_type_str_does_not_exist), name); |
1829 return; | 1829 return; |
1830 } | 1830 } |
1831 } | 1831 } |
1832 | 1832 |
1833 if (dict != NULL) | 1833 if (dict != NULL) |