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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user