[Aptitude-svn-commit] r3384 - branches/aptitude-0.3/aptitude/src

Daniel Burrows dburrows@costa.debian.org
Tue, 07 Jun 2005 19:09:33 +0000


Author: dburrows
Date: Tue Jun  7 19:09:32 2005
New Revision: 3384

Modified:
   branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Remove some uses of %C.

Modified: branches/aptitude-0.3/aptitude/src/ui.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/ui.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/ui.cc	Tue Jun  7 19:09:32 2005
@@ -173,8 +173,7 @@
 	tag=_("W:");
 
       frags.push_back(indentbox(0, 3,
-				wrapbox(fragf("%C%B%s%b %s",
-					      "Error",
+				wrapbox(fragf("%B%s%b %s",
 					      tag.c_str(),
 					      currerr.c_str()))));
     }
@@ -780,14 +779,13 @@
     {
       vector<fragment *> frags;
 
-      frags.push_back(wrapbox(fragf(_("%C%BWARNING%b: untrusted versions of the following packages will be installed!%n%n"
+      frags.push_back(wrapbox(fragf(_("%BWARNING%b: untrusted versions of the following packages will be installed!%n%n"
 				      "Untrusted packages could %Bcompromise your system's security%b.  "
 				      "You should only proceed with the installation if you are certain that this is what you want to do.%n%n"), "Error")));
 
       for(vector<pkgCache::VerIterator>::const_iterator i=untrusted.begin();
 	  i!=untrusted.end(); ++i)
-	frags.push_back(clipbox(fragf("%C  %C*%C %s [version %s]%n",
-				      "TrustWarning",
+	frags.push_back(clipbox(fragf(_("  %S*%S %s [version %s]%n"),
 				      "Bullet",
 				      "TrustWarning",
 				      i->ParentPkg().Name(), i->VerStr())));
@@ -797,7 +795,7 @@
 						       _("Really Continue"),
 						       NULL,
 						       _("Abort Installation"),
-						       get_style("Error"),
+						       get_style("TrustWarning"),
 						       true,
 						       false),
 				       true);