diff options
-rw-r--r-- | libidu/walker.c | 4 | ||||
-rw-r--r-- | src/lid.c | 5 | ||||
-rw-r--r-- | src/mkid.c | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/libidu/walker.c b/libidu/walker.c index 4bd7a88..7111733 100644 --- a/libidu/walker.c +++ b/libidu/walker.c @@ -491,7 +491,7 @@ void include_languages (char *lang_names) { if (langs_excluded) - error (1, 0, "can't mix --include and --exclude options"); + error (1, 0, _("can't mix --include and --exclude options")); langs_included = append_strings_to_vector (langs_included, lang_names, white_space); } @@ -499,7 +499,7 @@ void exclude_languages (char *lang_names) { if (langs_excluded) - error (1, 0, "can't mix --include and --exclude options"); + error (1, 0, _("can't mix --include and --exclude options")); langs_excluded = append_strings_to_vector (langs_excluded, lang_names, white_space); } @@ -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; } @@ -333,7 +333,7 @@ main (int argc, char **argv) report_statistics (); } else - error (0, 0, "nothing to do"); + error (0, 0, _("nothing to do")); exit (0); } |