From: Stephan Kulow Date: Sat, 12 Jan 2008 18:41:14 +0000 (+0000) Subject: avoid double negation, I hope that's fine X-Git-Tag: BASE-SuSE-Linux-11_0-Branch~611 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c0fa00c9880741537679e37607fd4c1668bc1c4;p=platform%2Fupstream%2Flibzypp.git avoid double negation, I hope that's fine --- diff --git a/zypp/sat/SATResolver.cc b/zypp/sat/SATResolver.cc index 772ec3f..b0c36cf 100644 --- a/zypp/sat/SATResolver.cc +++ b/zypp/sat/SATResolver.cc @@ -642,7 +642,7 @@ SATResolver::problems () if (poolItem) { if (solv->installed && s->repo == solv->installed) { problemSolution->addSingleAction (poolItem, KEEP); - string description = str::form (_("do not deinstall %s"), solvable2str(pool, s)); + string description = str::form (_("keep %s"), solvable2str(pool, s)); MIL << description << endl; problemSolution->addDescription (description); } else { @@ -679,7 +679,7 @@ SATResolver::problems () functor::chain (resfilter::ByInstalled (), // ByInstalled resfilter::ByTransact ()), // will be deinstalled functor::functorRef (info) ); - string description = str::form (_("do not deinstall %s"), id2str(pool, what)); + string description = str::form (_("keep %s"), id2str(pool, what)); MIL << description << endl; problemSolution->addDescription (description); } @@ -709,7 +709,7 @@ SATResolver::problems () || poolItem.status().staysInstalled()) problemSolution->addSingleAction (poolItem, KEEP); } - string description = str::form (_("do not deinstall all solvables providing %s"), dep2str(pool, what)); + string description = str::form (_("keep all solvables providing %s"), dep2str(pool, what)); MIL << description << endl; problemSolution->addDescription (description); }