patch 7.4.2250
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 599a3d6..1b54b7e 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7413,7 +7413,7 @@
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 @@
/* 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;
}