- fix problem overwriting APT::Acquire::Translation
* doc/examples/configure-index:
- document APT::Acquire::Translation
/* */
bool pkgIndexFile::TranslationsAvailable()
{
/* */
bool pkgIndexFile::TranslationsAvailable()
{
- const string Translation = _config->Find("APT::Acquire::Translation");
+ const string Translation = _config->Find("APT::Acquire::Translation", "environment");
if (Translation.compare("none") != 0)
return CheckLanguageCode(LanguageCode().c_str());
if (Translation.compare("none") != 0)
return CheckLanguageCode(LanguageCode().c_str());
/* return the language code */
string pkgIndexFile::LanguageCode()
{
/* return the language code */
string pkgIndexFile::LanguageCode()
{
- const string Translation = _config->Find("APT::Acquire::Translation");
+ const string Translation = _config->Find("APT::Acquire::Translation", "environment");
if (Translation.compare("environment") == 0)
{
if (Translation.compare("environment") == 0)
{
- // Translation
- Cnf.Set("APT::Acquire::Translation", "environment");
-
- fix version output in autoremove list (LP#68941)
* apt-pkg/packagemanager.cc:
- do not spin 100% cpu in FixMissing() (LP#84476)
- fix version output in autoremove list (LP#68941)
* apt-pkg/packagemanager.cc:
- do not spin 100% cpu in FixMissing() (LP#84476)
+ * apt-pkg/indexfile.cc:
+ - fix problem overwriting APT::Acquire::Translation
+ * doc/examples/configure-index:
+ - document APT::Acquire::Translation
// mirror failure reporting url
ReportFailures "http://example.com/mirror-failure";
};
// mirror failure reporting url
ReportFailures "http://example.com/mirror-failure";
};
+
+ // translations can be set here to "none", "environment" or "$locale"
+ Translation "none";
msgid "Please insert the disc labeled: '%s' in the drive '%s' and press enter."
msgstr ""
msgid "Please insert the disc labeled: '%s' in the drive '%s' and press enter."
msgstr ""
#, c-format
msgid "Packaging system '%s' is not supported"
msgstr ""
#, c-format
msgid "Packaging system '%s' is not supported"
msgstr ""
msgid "Unable to determine a suitable packaging system type"
msgstr ""
msgid "Unable to determine a suitable packaging system type"
msgstr ""