diff options
author | Jim Meyering <meyering@redhat.com> | 2008-01-02 18:28:59 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-01-14 17:57:50 +0100 |
commit | 938c68aff4782e86856379002485b33ff09c212f (patch) | |
tree | f058adce2559cc8547abe5da084484c3d7fd6a1a /src/lid.c | |
parent | 098b69c42296d9251add734dab054f02d89e3bda (diff) | |
download | idutils-938c68aff4782e86856379002485b33ff09c212f.tar.gz idutils-938c68aff4782e86856379002485b33ff09c212f.tar.bz2 idutils-938c68aff4782e86856379002485b33ff09c212f.zip |
Mark diagnostics for translation.
* src/mkid.c (main): Mark with _(...).
* libidu/walker.c (exclude_languages, include_languages): Likewise.
* src/lid.c (report_grep): Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'src/lid.c')
-rw-r--r-- | src/lid.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } |