- fix of the previous commit
authorJan Kupec <jkupec@suse.cz>
Tue, 25 Mar 2008 13:58:48 +0000 (13:58 +0000)
committerJan Kupec <jkupec@suse.cz>
Tue, 25 Mar 2008 13:58:48 +0000 (13:58 +0000)
src/zypper-misc.cc

index 52fa6d8..007b47e 100644 (file)
@@ -767,9 +767,9 @@ static void show_summary_of_type(Zypper & zypper,
     case TO_INSTALL:
       title = boost::str(format(_PL(
           // TranslatorExplanation %s is a "package", "patch", "pattern", etc
-          "The following NEW %s is going to be installed:",
+          "The following %s is going to be installed:",
           // TranslatorExplanation %s is a "packages", "patches", "patterns", etc
-          "The following NEW %s are going to be installed:",
+          "The following %s are going to be installed:",
           it->second.size()
       )) % kind_to_string_localized(it->first, it->second.size()));
       break;
@@ -932,7 +932,7 @@ int summary(Zypper & zypper)
   show_summary_of_type(zypper, TO_UPGRADE, toupgrade);
   show_summary_of_type(zypper, TO_DOWNGRADE, todowngrade);
   show_summary_of_type(zypper, TO_INSTALL, toinstall);
-  show_summary_of_type(zypper, TO_REINSTALL, toremove);
+  show_summary_of_type(zypper, TO_REINSTALL, toreinstall);
   show_summary_of_type(zypper, TO_REMOVE, toremove);
 
   // "</install-summary>"