aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-08 08:26:00 +0800
committerGitHub <noreply@github.com>2023-05-08 08:26:00 +0800
commite64db1d284f0b89672f1ccf89018a88a63865cd6 (patch)
treeedd9d9422910b5a68c1a9d2995166b6a1ea6e808 /src/nvim/runtime.c
parent13e7e4e67ada0cd359977ca1f56ef9d8ce8c938c (diff)
downloadrneovim-e64db1d284f0b89672f1ccf89018a88a63865cd6.tar.gz
rneovim-e64db1d284f0b89672f1ccf89018a88a63865cd6.tar.bz2
rneovim-e64db1d284f0b89672f1ccf89018a88a63865cd6.zip
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) https://github.com/vim/vim/commit/276410e78f0b82e3123059383994d2f4c578dfbd
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index b4a23d544e..34e94d6021 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -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 {