- no localization for history log comments
authorJan Kupec <jkupec@suse.cz>
Mon, 29 Sep 2008 20:48:05 +0000 (20:48 +0000)
committerJan Kupec <jkupec@suse.cz>
Mon, 29 Sep 2008 20:48:05 +0000 (20:48 +0000)
zypp/target/rpm/RpmDb.cc

index 54fbf50..bd3b0cc 100644 (file)
@@ -2072,11 +2072,10 @@ void RpmDb::doInstallPackage( const Pathname & filename, RpmInstFlags flags, cal
   if ( rpm_status != 0 )
   {
     historylog.comment(
-        // %s = filename of rpm package
-        str::form(_("%s install failed"), Pathname::basename(filename).c_str()),
+        str::form("%s install failed", Pathname::basename(filename).c_str()),
         true /*timestamp*/);
     ostringstream sstr;
-    sstr << _("rpm output:") << endl << rpmmsg << endl;
+    sstr << "rpm output:" << endl << rpmmsg << endl;
     historylog.comment(sstr.str());
     // TranslatorExplanation the colon is followed by an error message
     ZYPP_THROW(RpmSubprocessException(string(_("RPM failed: ")) +
@@ -2085,11 +2084,10 @@ void RpmDb::doInstallPackage( const Pathname & filename, RpmInstFlags flags, cal
   else if ( ! rpmmsg.empty() )
   {
     historylog.comment(
-        // %s = filename of rpm package
-        str::form(_("%s installed ok"), Pathname::basename(filename).c_str()),
+        str::form("%s installed ok", Pathname::basename(filename).c_str()),
         true /*timestamp*/);
     ostringstream sstr;
-    sstr << _("Additional rpm output:") << endl << rpmmsg << endl;
+    sstr << "Additional rpm output:" << endl << rpmmsg << endl;
     historylog.comment(sstr.str());
   }
 }
@@ -2211,10 +2209,9 @@ void RpmDb::doRemovePackage( const string & name_r, RpmInstFlags flags, callback
   if ( rpm_status != 0 )
   {
     historylog.comment(
-        // %s = name of rpm package
-        str::form(_("%s remove failed"), name_r.c_str()), true /*timestamp*/);
+        str::form("%s remove failed", name_r.c_str()), true /*timestamp*/);
     ostringstream sstr;
-    sstr << _("rpm output:") << endl << rpmmsg << endl;
+    sstr << "rpm output:" << endl << rpmmsg << endl;
     historylog.comment(sstr.str());
     // TranslatorExplanation the colon is followed by an error message
     ZYPP_THROW(RpmSubprocessException(string(_("RPM failed: ")) +
@@ -2223,11 +2220,10 @@ void RpmDb::doRemovePackage( const string & name_r, RpmInstFlags flags, callback
   else if ( ! rpmmsg.empty() )
   {
     historylog.comment(
-        // %s = name of rpm package
-        str::form(_("%s removed ok"), name_r.c_str()), true /*timestamp*/);
+        str::form("%s removed ok", name_r.c_str()), true /*timestamp*/);
 
     ostringstream sstr;
-    sstr << _("Additional rpm output:") << endl << rpmmsg << endl;
+    sstr << "Additional rpm output:" << endl << rpmmsg << endl;
     historylog.comment(sstr.str());
   }
 }