// first cornercase: LANG=C, so we use only "en" Translation
if (envLong == "C") {
- codes.push_back("en");
+ if (_config->Find("Acquire::Languages","") != "none")
+ codes.push_back("en");
allCodes = codes;
allCodes.insert(allCodes.end(), builtin.begin(), builtin.end());
if (All == true)
apt (0.8.9) UNRELEASED; urgency=low
+ [ Christian Perrier ]
* Fix "typos" in French manpages translations. Thanks to
Cyril Brulebois for bashing me.
* Drop useless untranslatable sections from apt.8
- -- Christian Perrier <bubulle@debian.org> Sat, 30 Oct 2010 09:51:18 +0200
+ [ David Kalnischkies ]
+ * apt-pkg/aptconfiguration.cc:
+ - respect the none-force even in LANG=C (Closes: #602573)
+
+ -- David Kalnischkies <kalnischkies@gmail.com> Sat, 06 Nov 2010 12:50:20 +0100
apt (0.8.8) unstable; urgency=low
equals(vec.size(), 1);
equals(vec[0], "en");
+ _config->Set("Acquire::Languages", "none");
+ env[0] = "C";
+ vec = APT::Configuration::getLanguages(false, false, env);
+ equals(vec.size(), 0);
+ _config->Set("Acquire::Languages", "");
+
_config->Set("Acquire::Languages::1", "environment");
_config->Set("Acquire::Languages::2", "en");
env[0] = "de_DE.UTF-8";