summaryrefslogtreecommitdiffstats
path: root/src/lid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lid.c')
-rw-r--r--src/lid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lid.c b/src/lid.c
index 729fc9d..0a62c63 100644
--- a/src/lid.c
+++ b/src/lid.c
@@ -570,7 +570,7 @@ report_grep (char const *name, struct file_link **flinkv)
source_FILE = fopen (file_name, "r");
if (source_FILE == 0)
{
- error (0, errno, "can't open `%s'", file_name);
+ error (0, errno, _("can't open `%s'"), file_name);
continue;
}
@@ -581,7 +581,8 @@ report_grep (char const *name, struct file_link **flinkv)
{
int regexec_errno = regexec (&compiled, line, 0, 0, 0);
if (regexec_errno == REG_ESPACE)
- error (1, 0, "can't match regular-expression: memory exhausted");
+ error (1, 0,
+ _("can't match regular-expression: memory exhausted"));
else if (regexec_errno)
continue;
}