changed problem text
authorStefan Schubert <schubi@suse.de>
Mon, 14 Jan 2008 13:35:31 +0000 (13:35 +0000)
committerStefan Schubert <schubi@suse.de>
Mon, 14 Jan 2008 13:35:31 +0000 (13:35 +0000)
zypp/sat/SATResolver.cc

index c1a20a9d4960d6736c9bf59d330b9b109dc49481..57f99d418a24d986d37c2370399947b617d4dd48 100644 (file)
@@ -554,7 +554,7 @@ std::string SATResolver::SATprobleminfoString(Id problem)
          break;
       case SOLVER_PROBLEM_NOT_INSTALLABLE:
          s = pool_id2solvable(pool, source);
-         ret = str::form (_("package %s is not installable"), solvable2str(pool, s));
+         ret = str::form (_("%s is not installable"), solvable2str(pool, s));
          break;
       case SOLVER_PROBLEM_NOTHING_PROVIDES_DEP:
          s = pool_id2solvable(pool, source);
@@ -568,16 +568,16 @@ std::string SATResolver::SATprobleminfoString(Id problem)
       case SOLVER_PROBLEM_PACKAGE_CONFLICT:
          s = pool_id2solvable(pool, source);
          s2 = pool_id2solvable(pool, target);
-         ret = str::form (_("package %s conflicts with %s provided by %s"), solvable2str(pool, s), dep2str(pool, dep), solvable2str(pool, s2));
+         ret = str::form (_("%s conflicts with %s provided by %s"), solvable2str(pool, s), dep2str(pool, dep), solvable2str(pool, s2));
          break;
       case SOLVER_PROBLEM_PACKAGE_OBSOLETES:
          s = pool_id2solvable(pool, source);
          s2 = pool_id2solvable(pool, target);
-         ret = str::form (_("package %s obsoletes %s provided by %s"), solvable2str(pool, s), dep2str(pool, dep), solvable2str(pool, s2));
+         ret = str::form (_("%s obsoletes %s provided by %s"), solvable2str(pool, s), dep2str(pool, dep), solvable2str(pool, s2));
          break;
       case SOLVER_PROBLEM_DEP_PROVIDERS_NOT_INSTALLABLE:
          s = pool_id2solvable(pool, source);
-         ret = str::form (_("package %s requires %s, but none of the providers can be installed"), solvable2str(pool, s), dep2str(pool, dep));
+         ret = str::form (_("%s requires %s, but none of the providers can be installed"), solvable2str(pool, s), dep2str(pool, dep));
          break;
   }