patch 7.4.2250
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 9e6a72d..d690f39 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -7088,7 +7088,7 @@
|| filecount == 0)
{
if (!got_int)
- EMSG2("E151: No match: %s", NameBuff);
+ EMSG2(_("E151: No match: %s"), NameBuff);
return;
}
@@ -7331,7 +7331,7 @@
EW_FILE|EW_SILENT) == FAIL
|| filecount == 0)
{
- EMSG2("E151: No match: %s", NameBuff);
+ EMSG2(_("E151: No match: %s"), NameBuff);
return;
}