diff options
Diffstat (limited to 'src/nvim/ex_cmds.c')
| -rw-r--r-- | src/nvim/ex_cmds.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index b550e9a9c6..0987cb3915 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -5023,8 +5023,9 @@ static void helptags_one(char_u *dir, char_u *ext, char_u *tagfname,    if (gen_expand_wildcards(1, buff_list, &filecount, &files,            EW_FILE|EW_SILENT) == FAIL        || filecount == 0) { -    if (!got_int) -      EMSG2("E151: No match: %s", NameBuff); +    if (!got_int) { +      EMSG2(_("E151: No match: %s"), NameBuff); +    }      return;    } @@ -5223,7 +5224,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;    } | 
