summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorErnie Rael <errael@raelity.com>2023-10-20 11:59:00 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-20 11:59:00 +0200
commitd4802ec48560b30d5a2fea243b05bd0f70364f7b (patch)
tree3d93023b169e743e0578afd1c6a9f32cd67beba6 /src/errors.h
parentac709e2fc0db6d31abb7da96f743c40956b60c3a (diff)
patch 9.0.2055: Vim9: non-consistent error messagesv9.0.2055
Problem: Vim9: non-consistent error messages Solution: make error messages more consistent with common structure Adjust vim9class messages to follow common pattern. [Variable|Method] "var-or-meth-name" ... class "class-name" closes: #13391 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h
index 7b1181ae94..79a785e1e2 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3396,9 +3396,9 @@ EXTERN char e_using_class_as_string[]
EXTERN char e_using_object_as_string[]
INIT(= N_("E1324: Using an object as a String"));
EXTERN char e_method_not_found_on_class_str_str[]
- INIT(= N_("E1325: Method not found on class \"%s\": %s"));
+ INIT(= N_("E1325: Method \"%s\" not found in class \"%s\""));
EXTERN char e_variable_not_found_on_object_str_str[]
- INIT(= N_("E1326: Variable not found on object \"%s\": %s"));
+ INIT(= N_("E1326: Variable \"%s\" not found in object \"%s\""));
EXTERN char e_object_required_found_str[]
INIT(= N_("E1327: Object required, found %s"));
EXTERN char e_constructor_default_value_must_be_vnone_str[]