vim-patch:9.0.1523: some error messages are not marked for translation (#23529)

Problem:    Some error messages are not marked for translation.
Solution:   Surround the messages in _(). (closes vim/vim#12356)

276410e78f
This commit is contained in:
zeertzjq
2023-05-08 08:26:00 +08:00
committed by GitHub
parent 13e7e4e67a
commit e64db1d284
4 changed files with 6 additions and 5 deletions

View File

@@ -2409,7 +2409,7 @@ void f_getscriptinfo(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
return;
}
if (sid <= 0) {
semsg(e_invargNval, "sid", tv_get_string(&sid_di->di_tv));
semsg(_(e_invargNval), "sid", tv_get_string(&sid_di->di_tv));
return;
}
} else {