[zypp-commit] r11210 - /trunk/libzypp/zypp/target/rpm/RpmDb.cc
Author: jkupec Date: Mon Sep 29 22:48:05 2008 New Revision: 11210 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11210&view=rev Log: - no localization for history log comments Modified: trunk/libzypp/zypp/target/rpm/RpmDb.cc Modified: trunk/libzypp/zypp/target/rpm/RpmDb.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/target/rpm/RpmDb.cc?rev=11210&r1=11209&r2=11210&view=diff ============================================================================== --- trunk/libzypp/zypp/target/rpm/RpmDb.cc (original) +++ trunk/libzypp/zypp/target/rpm/RpmDb.cc Mon Sep 29 22:48:05 2008 @@ -2072,11 +2072,10 @@ 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 @@ 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 @@ 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 @@ 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()); } } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
jkupec@svn.opensuse.org