Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
9952:dc765f42b3f1 | 9953:9560a2eb7968 |
---|---|
7086 if (gen_expand_wildcards(1, &NameBuff, &filecount, &files, | 7086 if (gen_expand_wildcards(1, &NameBuff, &filecount, &files, |
7087 EW_FILE|EW_SILENT) == FAIL | 7087 EW_FILE|EW_SILENT) == FAIL |
7088 || filecount == 0) | 7088 || filecount == 0) |
7089 { | 7089 { |
7090 if (!got_int) | 7090 if (!got_int) |
7091 EMSG2("E151: No match: %s", NameBuff); | 7091 EMSG2(_("E151: No match: %s"), NameBuff); |
7092 return; | 7092 return; |
7093 } | 7093 } |
7094 | 7094 |
7095 /* | 7095 /* |
7096 * Open the tags file for writing. | 7096 * Open the tags file for writing. |
7329 STRCAT(NameBuff, "**"); | 7329 STRCAT(NameBuff, "**"); |
7330 if (gen_expand_wildcards(1, &NameBuff, &filecount, &files, | 7330 if (gen_expand_wildcards(1, &NameBuff, &filecount, &files, |
7331 EW_FILE|EW_SILENT) == FAIL | 7331 EW_FILE|EW_SILENT) == FAIL |
7332 || filecount == 0) | 7332 || filecount == 0) |
7333 { | 7333 { |
7334 EMSG2("E151: No match: %s", NameBuff); | 7334 EMSG2(_("E151: No match: %s"), NameBuff); |
7335 return; | 7335 return; |
7336 } | 7336 } |
7337 | 7337 |
7338 /* Go over all files in the directory to find out what languages are | 7338 /* Go over all files in the directory to find out what languages are |
7339 * present. */ | 7339 * present. */ |