summaryrefslogtreecommitdiff
path: root/src/vim9compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 2a0ab2528..8e8ae3f98 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2477,7 +2477,7 @@ check_item_writable(svar_T *sv, int check_writable, char_u *name)
|| (check_writable == ASSIGN_FINAL
&& sv->sv_const == ASSIGN_CONST))
{
- semsg(_(e_readonlyvar), name);
+ semsg(_(e_cannot_change_readonly_variable_str), name);
return FAIL;
}
return OK;