diff options
author | Daniel Burrows <dburrows@debian.org> | 2007-11-15 07:18:53 -0800 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2007-11-15 07:18:53 -0800 |
commit | 42c43a7aad495c021372415111510c09c46e6e7d (patch) | |
tree | c1dfd8e64928651b626b1a0ff13985ff607e2731 /src/solution_fragment.cc | |
parent | d4e4a5a7894f36dedf6dd2525095d2a4f98825ca (diff) | |
download | aptitude-42c43a7aad495c021372415111510c09c46e6e7d.tar.gz |
Pass over the source tree with sed to collapse transcode(_(...)) to W_(...).
Diffstat (limited to 'src/solution_fragment.cc')
-rw-r--r-- | src/solution_fragment.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/solution_fragment.cc b/src/solution_fragment.cc index 21d4a169..5ebd8738 100644 --- a/src/solution_fragment.cc +++ b/src/solution_fragment.cc @@ -102,28 +102,28 @@ wstring dep_text(const pkgCache::DepIterator &d) switch(d->Type) { case pkgCache::Dep::Depends: - return swsprintf(cw::util::transcode(_("%s depends upon %s")).c_str(), + return swsprintf(W_("%s depends upon %s").c_str(), name, targets.c_str()); case pkgCache::Dep::PreDepends: - return swsprintf(cw::util::transcode(_("%s pre-depends upon %s")).c_str(), + return swsprintf(W_("%s pre-depends upon %s").c_str(), name, targets.c_str()); case pkgCache::Dep::Suggests: - return swsprintf(cw::util::transcode(_("%s suggests %s")).c_str(), + return swsprintf(W_("%s suggests %s").c_str(), name, targets.c_str()); case pkgCache::Dep::Recommends: - return swsprintf(cw::util::transcode(_("%s recommends %s")).c_str(), + return swsprintf(W_("%s recommends %s").c_str(), name, targets.c_str()); case pkgCache::Dep::Conflicts: - return swsprintf(cw::util::transcode(_("%s conflicts with %s")).c_str(), + return swsprintf(W_("%s conflicts with %s").c_str(), name, targets.c_str()); case pkgCache::Dep::DpkgBreaks: - return swsprintf(cw::util::transcode(_("%s breaks %s")).c_str(), + return swsprintf(W_("%s breaks %s").c_str(), name, targets.c_str()); case pkgCache::Dep::Replaces: - return swsprintf(cw::util::transcode(_("%s replaces %s")).c_str(), + return swsprintf(W_("%s replaces %s").c_str(), name, targets.c_str()); case pkgCache::Dep::Obsoletes: - return swsprintf(cw::util::transcode(_("%s obsoletes %s")).c_str(), + return swsprintf(W_("%s obsoletes %s").c_str(), name, targets.c_str()); default: abort(); @@ -136,7 +136,7 @@ wstring conflict_text(const pkgCache::DepIterator &conflict, if(prv.end() || !is_conflict(conflict->Type)) return dep_text(conflict); - return swsprintf(cw::util::transcode(_("%s conflicts with %s [provided by %s %s]")).c_str(), + return swsprintf(W_("%s conflicts with %s [provided by %s %s]").c_str(), const_cast<pkgCache::DepIterator &>(conflict).ParentPkg().Name(), const_cast<pkgCache::PrvIterator &>(prv).ParentPkg().Name(), const_cast<pkgCache::PrvIterator &>(prv).OwnerPkg().Name(), |