Mercurial > vim
diff src/ex_cmds.c @ 9953:9560a2eb7968 v7.4.2250
commit https://github.com/vim/vim/commit/5b30291785e6b9be1a607504c14bd03c601b59a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 24 22:11:55 2016 +0200
patch 7.4.2250
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 24 Aug 2016 22:15:08 +0200 |
parents | 80008b4e197e |
children | b9fd9c50be25 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -7088,7 +7088,7 @@ helptags_one( || filecount == 0) { if (!got_int) - EMSG2("E151: No match: %s", NameBuff); + EMSG2(_("E151: No match: %s"), NameBuff); return; } @@ -7331,7 +7331,7 @@ do_helptags(char_u *dirname, int add_hel EW_FILE|EW_SILENT) == FAIL || filecount == 0) { - EMSG2("E151: No match: %s", NameBuff); + EMSG2(_("E151: No match: %s"), NameBuff); return; }