aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-07-10 08:55:54 +0800
committerJames McCoy <jamessan@jamessan.com>2017-07-13 23:15:29 -0400
commitc805f2cf54aa4ab066bb9e7f3d5b7cc40d04004e (patch)
tree32c2e66384e88f9fd0b7f523adce88039caa702d /src/nvim/ex_cmds.c
parentf746e38955f33dfdcc0dbdb40efaae82fb4b4c12 (diff)
downloadrneovim-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/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index b550e9a9c6..a534a476df 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5024,7 +5024,7 @@ static void helptags_one(char_u *dir, char_u *ext, char_u *tagfname,
EW_FILE|EW_SILENT) == FAIL
|| filecount == 0) {
if (!got_int)
- EMSG2("E151: No match: %s", NameBuff);
+ EMSG2(_("E151: No match: %s"), NameBuff);
return;
}
@@ -5223,7 +5223,7 @@ static void do_helptags(char_u *dirname, bool add_help_tags)
if (gen_expand_wildcards(1, buff_list, &filecount, &files,
EW_FILE|EW_SILENT) == FAIL
|| filecount == 0) {
- EMSG2("E151: No match: %s", NameBuff);
+ EMSG2(_("E151: No match: %s"), NameBuff);
xfree(dirname);
return;
}