mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
vim-patch:7.4.2250
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
5b30291785
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user