diff options
author | ckelsel <ckelsel@hotmail.com> | 2017-07-10 08:55:54 +0800 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-07-13 23:15:29 -0400 |
commit | c805f2cf54aa4ab066bb9e7f3d5b7cc40d04004e (patch) | |
tree | 32c2e66384e88f9fd0b7f523adce88039caa702d /src/nvim/eval.c | |
parent | f746e38955f33dfdcc0dbdb40efaae82fb4b4c12 (diff) | |
download | rneovim-c805f2cf54aa4ab066bb9e7f3d5b7cc40d04004e.tar.gz rneovim-c805f2cf54aa4ab066bb9e7f3d5b7cc40d04004e.tar.bz2 rneovim-c805f2cf54aa4ab066bb9e7f3d5b7cc40d04004e.zip |
vim-patch:7.4.2250
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
https://github.com/vim/vim/commit/5b30291785e6b9be1a607504c14bd03c601b59a6
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 7e9c006f33..e5bb7f1b38 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -12451,7 +12451,7 @@ static void f_matchadd(typval_T *argvars, typval_T *rettv, FunPtr fptr) return; } if (id >= 1 && id <= 3) { - EMSGN("E798: ID is reserved for \":match\": %" PRId64, id); + EMSGN(_("E798: ID is reserved for \":match\": %" PRId64), id); return; } @@ -12508,7 +12508,7 @@ static void f_matchaddpos(typval_T *argvars, typval_T *rettv, FunPtr fptr) // id == 3 is ok because matchaddpos() is supposed to substitute :3match if (id == 1 || id == 2) { - EMSGN("E798: ID is reserved for \"match\": %" PRId64, id); + EMSGN(_("E798: ID is reserved for \"match\": %" PRId64), id); return; } |