summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2025-01-17 00:01:13 +0000
committerDavid Kalnischkies <david@kalnischkies.de>2025-01-17 00:27:48 +0000
commit4454fd246b3b7f605dcd272b2107313ba53688c5 (patch)
tree9b4bb45421ecc9999089f99a6d67b8a3f9288148 /apt-pkg
parent5429e2324f24a08b8460496e3fe2247545ed45be (diff)
Write Pre-Depends with a dash again in EDSP
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
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/pkgcache.cc2
1 files changed, 1 insertions, 1 deletions
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<std::string_view, 12> Types{"", "Depends", "PreDepends", "Suggests",
+ std::array<std::string_view, 12> Types{"", "Depends", "Pre-Depends", "Suggests",
"Recommends", "Conflicts", "Replaces",
"Obsoletes", "Breaks", "Enhances"};
if (Type < Types.size())