diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/archives.c | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2007-08-14 Guillem Jover <guillem@debian.org> + + * src/archives.c (linktosameexistingdir): Mark strings for translation. + 2007-08-11 Ian Jackson <iwj@ubuntu.com> * src/archives.c (linktosameexistingdir): New function. diff --git a/src/archives.c b/src/archives.c index 796c65a70..9085e6152 100644 --- a/src/archives.c +++ b/src/archives.c @@ -336,7 +336,8 @@ static int linktosameexistingdir(const struct TarInfo *ti, statr= stat(fname, &oldstab); if (statr) { if (!(errno == ENOENT || errno == ELOOP || errno == ENOTDIR)) - ohshite("failed to stat (dereference) existing symlink `%.250s'", fname); + ohshite(_("failed to stat (dereference) existing symlink `%.250s'"), + fname); return 0; } if (!S_ISDIR(oldstab.st_mode)) return 0; @@ -356,8 +357,8 @@ static int linktosameexistingdir(const struct TarInfo *ti, statr= stat(symlinkfn->buf, &newstab); if (statr) { if (!(errno == ENOENT || errno == ELOOP || errno == ENOTDIR)) - ohshite("failed to stat (dereference) proposed new symlink target" - " `%.250s' for symlink `%.250s'", symlinkfn->buf, fname); + ohshite(_("failed to stat (dereference) proposed new symlink target" + " `%.250s' for symlink `%.250s'"), symlinkfn->buf, fname); return 0; } if (!S_ISDIR(newstab.st_mode)) return 0; |