0
0
mirror of https://github.com/vim/vim.git synced 2025-10-13 06:54:15 -04:00

patch 7.4.2250

Problem:    Some error message cannot be translated.
Solution:   Enclose them in _() and N_(). (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-08-24 22:11:55 +02:00
parent ba2099034f
commit 5b30291785
6 changed files with 19 additions and 17 deletions

View File

@@ -7413,7 +7413,7 @@ f_matchadd(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
return;
if (id >= 1 && id <= 3)
{
EMSGN("E798: ID is reserved for \":match\": %ld", id);
EMSGN(_("E798: ID is reserved for \":match\": %ld"), id);
return;
}
@@ -7478,7 +7478,7 @@ f_matchaddpos(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
/* id == 3 is ok because matchaddpos() is supposed to substitute :3match */
if (id == 1 || id == 2)
{
EMSGN("E798: ID is reserved for \":match\": %ld", id);
EMSGN(_("E798: ID is reserved for \":match\": %ld"), id);
return;
}