From 0f30749238d3c4872dfb747f7727db522cb55ab7 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 14 Aug 2007 04:41:48 +0300 Subject: [PATCH] Mark strings for translation. --- ChangeLog | 4 ++++ src/archives.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4282bbff..d1f5f4b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-08-14 Guillem Jover + + * src/archives.c (linktosameexistingdir): Mark strings for translation. + 2007-08-11 Ian Jackson * src/archives.c (linktosameexistingdir): New function. diff --git a/src/archives.c b/src/archives.c index 796c65a7..9085e615 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; -- 2.39.5