From 4454fd246b3b7f605dcd272b2107313ba53688c5 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 17 Jan 2025 00:01:13 +0000 Subject: Write Pre-Depends with a dash again in EDSP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason ~ that I don't know and can't come up with on the spot ~ we output the Pre-Depends field as PreDepends in the translated user-visible output and I accidentally copied that over to the untranslated variant that replaced the embedded copy (with a dash) in the EDSP generator. Code-copies and implementation details littered all over the place are apparently sometimes a good bug-free thing, too… Regression-of: 6828ae2c2f9268c8187f0fa91b3c464ed84a8476 Closes: #1093254 --- apt-pkg/pkgcache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg') diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index 1f5f12885..16df1704e 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -350,7 +350,7 @@ const char *pkgCache::DepType(unsigned char Type) } std::string_view pkgCache::DepType_NoL10n(unsigned char Type) { - std::array Types{"", "Depends", "PreDepends", "Suggests", + std::array Types{"", "Depends", "Pre-Depends", "Suggests", "Recommends", "Conflicts", "Replaces", "Obsoletes", "Breaks", "Enhances"}; if (Type < Types.size()) -- cgit v1.2.3-70-g09d2