[Aptitude-devel] r3073 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Sat, 23 Apr 2005 14:08:21 +0000


Author: dburrows
Date: Sat Apr 23 14:08:18 2005
New Revision: 3073

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/broken_indicator.cc
Log:
Adjust the capitalization of the command names in the broken indicator.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Apr 23 14:08:18 2005
@@ -2,6 +2,11 @@
 
 	* src/broken_indicator.cc:
 
+	  Capitalize the command names in the indicator, to match the
+	  hints at the top of the screen, and make then i18nable.
+
+	* src/broken_indicator.cc:
+
 	  Make the whole broken indicator red, not just the text.
 
 2005-04-22  Daniel Burrows  <dburrows@debian.org>

Modified: branches/aptitude-0.3/aptitude/src/broken_indicator.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/broken_indicator.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/broken_indicator.cc	Sat Apr 23 14:08:18 2005
@@ -211,13 +211,13 @@
 
 	    vector<fragment *> key_hints;
 
-	    key_hints.push_back(fragf("%s: examine",
+	    key_hints.push_back(fragf(_("%s: Examine"),
 				      examine.c_str()));
-	    key_hints.push_back(fragf("%s: apply",
+	    key_hints.push_back(fragf(_("%s: Apply"),
 				      apply.c_str()));
-	    key_hints.push_back(fragf("%s: next",
+	    key_hints.push_back(fragf(_("%s: Next"),
 				      next.c_str()));
-	    key_hints.push_back(fragf("%s: previous",
+	    key_hints.push_back(fragf(_("%s: Previous"),
 				      prev.c_str()));
 
 	    fragments.push_back(join_fragments(key_hints,