mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1935: Vim9: not consistent error messages
Problem: Vim9: not consistent error messages Solution: Make error messages more consistent. Use "variable" for (object/class) member closes: #13155 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: RestorerZ <restorer@mail2k.ru>
This commit is contained in:
committed by
Christian Brabandt
parent
46bdae036a
commit
7fe8f43f49
@@ -1560,7 +1560,7 @@ get_lval(
|
||||
switch (om->ocm_access)
|
||||
{
|
||||
case VIM_ACCESS_PRIVATE:
|
||||
semsg(_(e_cannot_access_private_member_str),
|
||||
semsg(_(e_cannot_access_private_variable_str),
|
||||
om->ocm_name);
|
||||
return NULL;
|
||||
case VIM_ACCESS_READ:
|
||||
@@ -1569,7 +1569,7 @@ get_lval(
|
||||
break;
|
||||
if ((flags & GLV_READ_ONLY) == 0)
|
||||
{
|
||||
semsg(_(e_member_is_not_writable_str),
|
||||
semsg(_(e_variable_is_not_writable_str),
|
||||
om->ocm_name, cl->class_name);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user