diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:47 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:47 +0000 |
commit | dc738e7ae6a9c14992279dc2c52f71b14ced53aa (patch) | |
tree | f499d824a6da6d4fcce2a927192ba30fdbebd143 /ftparchive/contents.cc | |
parent | bac2e715204b341d7818444c4a4ad2e3e4e5b18d (diff) |
Lots and lots of i18n updates.
Author: doogie
Date: 2003-02-10 07:34:41 GMT
Lots and lots of i18n updates.
Diffstat (limited to 'ftparchive/contents.cc')
-rw-r--r-- | ftparchive/contents.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ftparchive/contents.cc b/ftparchive/contents.cc index b6de47b58..4f2b1d163 100644 --- a/ftparchive/contents.cc +++ b/ftparchive/contents.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: contents.cc,v 1.3 2001/02/27 04:24:09 jgg Exp $ +// $Id: contents.cc,v 1.4 2003/02/10 07:34:41 doogie Exp $ /* ###################################################################### contents - Archive contents generator @@ -35,6 +35,7 @@ // Include Files /*{{{*/ #include "contents.h" +#include <apti18n.h> #include <apt-pkg/extracttar.h> #include <apt-pkg/error.h> #include <stdio.h> @@ -342,7 +343,7 @@ bool ContentsExtract::DoItem(Item &Itm,int &Fd) MaxSize = 512*1024/2; char *NewData = (char *)realloc(Data,MaxSize*2); if (NewData == 0) - return _error->Error("realloc - Failed to allocate memory"); + return _error->Error(_("realloc - Failed to allocate memory")); Data = NewData; MaxSize *= 2; } @@ -373,7 +374,7 @@ bool ContentsExtract::TakeContents(const void *NewData,unsigned long Length) char *NewData = (char *)realloc(Data,MaxSize*2); if (NewData == 0) - return _error->Error("realloc - Failed to allocate memory"); + return _error->Error(_("realloc - Failed to allocate memory")); Data = NewData; MaxSize *= 2; } |