From 677cbcbcea1539512009f0ba11dc93d5c97df830 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:59:47 +0000 Subject: [PATCH] Remove 'Sorry' from messages. Author: doogie Date: 2002-11-09 20:38:02 GMT Remove 'Sorry' from messages. --- apt-pkg/srcrecords.cc | 4 ++-- cmdline/apt-get.cc | 16 ++++++++-------- debian/changelog | 1 + 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/apt-pkg/srcrecords.cc b/apt-pkg/srcrecords.cc index f5610536..d4719f7c 100644 --- a/apt-pkg/srcrecords.cc +++ b/apt-pkg/srcrecords.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: srcrecords.cc,v 1.6 2001/06/10 02:12:09 jgg Exp $ +// $Id: srcrecords.cc,v 1.7 2002/11/09 20:38:02 doogie Exp $ /* ###################################################################### Source Package Records - Allows access to source package records @@ -46,7 +46,7 @@ pkgSrcRecords::pkgSrcRecords(pkgSourceList &List) : Files(0), Current(0) // Doesn't work without any source index files if (Count == 0) { - _error->Error(_("Sorry, you must put some 'source' URIs" + _error->Error(_("You must put some 'source' URIs" " in your sources.list")); return; } diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index b4d832df..bd6da8e7 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-get.cc,v 1.121 2002/07/08 04:09:52 jgg Exp $ +// $Id: apt-get.cc,v 1.122 2002/11/09 20:38:02 doogie Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -183,14 +183,14 @@ bool ShowList(ostream &out,string Title,string List) description. The output looks like: - Sorry, but the following packages have unmet dependencies: + The following packages have unmet dependencies: exim: Depends: libc6 (>= 2.1.94) but 2.1.3-10 is to be installed Depends: libldap2 (>= 2.0.2-2) but it is not going to be installed Depends: libsasl7 but it is not going to be installed */ void ShowBroken(ostream &out,CacheFile &Cache,bool Now) { - out << _("Sorry, but the following packages have unmet dependencies:") << endl; + out << _("The following packages have unmet dependencies:") << endl; for (unsigned J = 0; J < Cache->Head().PackageCount; J++) { pkgCache::PkgIterator I(Cache,Cache.List[J]); @@ -738,7 +738,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true, return _error->Errno("statvfs","Couldn't determine free space in %s", OutputDir.c_str()); if (unsigned(Buf.f_bfree) < (FetchBytes - FetchPBytes)/Buf.f_bsize) - return _error->Error(_("Sorry, you don't have enough free space in %s to hold all the .debs."), + return _error->Error(_("You don't have enough free space in %s."), OutputDir.c_str()); } @@ -1017,7 +1017,7 @@ bool TryToInstall(pkgCache::PkgIterator Pkg,pkgDepCache &Cache, if (_config->FindB("APT::Get::ReInstall",false) == true) { if (Pkg->CurrentVer == 0 || Pkg.CurrentVer().Downloadable() == false) - ioprintf(c1out,_("Sorry, re-installation of %s is not possible, it cannot be downloaded.\n"), + ioprintf(c1out,_("Reinstallation of %s is not possible, it cannot be downloaded.\n"), Pkg.Name()); else Cache.SetReInstall(Pkg,true); @@ -1025,7 +1025,7 @@ bool TryToInstall(pkgCache::PkgIterator Pkg,pkgDepCache &Cache, else { if (AllowFail == true) - ioprintf(c1out,_("Sorry, %s is already the newest version.\n"), + ioprintf(c1out,_("%s is already the newest version.\n"), Pkg.Name()); } } @@ -1428,7 +1428,7 @@ bool DoInstall(CommandLine &CmdL) c1out << _("The following information may help to resolve the situation:") << endl; c1out << endl; ShowBroken(c1out,Cache,false); - return _error->Error(_("Sorry, broken packages")); + return _error->Error(_("Broken packages")); } /* Print out a list of packages that are going to be installed extra @@ -1725,7 +1725,7 @@ bool DoSource(CommandLine &CmdL) return _error->Errno("statvfs","Couldn't determine free space in %s", OutputDir.c_str()); if (unsigned(Buf.f_bfree) < (FetchBytes - FetchPBytes)/Buf.f_bsize) - return _error->Error(_("Sorry, you don't have enough free space in %s"), + return _error->Error(_("You don't have enough free space in %s"), OutputDir.c_str()); // Number of bytes diff --git a/debian/changelog b/debian/changelog index d03bce7e..83ae2da3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -55,6 +55,7 @@ apt (0.5.5) unstable; urgency=low * Add s390x to archtable. Closese: #160992. * Update config.sub/config.guess in cvs, and add support to debian/rules to update them from /usr/share/misc if they exist. Closes: #155014 + * Remove 'Sorry' from messages. Closes: #148824. -- Jason Gunthorpe Sun, 15 Sep 2002 17:16:59 -0600 -- 2.20.1