]> git.saurik.com Git - apt.git/commitdiff
* ftparchive/apt-ftparchive.cc:
authorJulian Andres Klode <jak@debian.org>
Tue, 24 Nov 2009 14:22:51 +0000 (15:22 +0100)
committerJulian Andres Klode <jak@debian.org>
Tue, 24 Nov 2009 14:22:51 +0000 (15:22 +0100)
  - Call setlocale() so translations are actually used.

debian/changelog
ftparchive/apt-ftparchive.cc

index 28f24f39659294ef4d79533fc95b67a7823b430c..3f70b440d5c6bf5c99977259ae1b80bf4af55dd9 100644 (file)
@@ -33,6 +33,8 @@ apt (0.7.25) UNRELEASED; urgency=low
   * methods/https.cc:
     - Add support for authentication using netrc (Closes: #518473), patch
       by Jussi Hakala <jussi.hakala@hut.fi>.
+  * ftparchive/apt-ftparchive.cc:
+    - Call setlocale() so translations are actually used.
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 29 Sep 2009 15:51:34 +0200
 
index 3b1e80631868f301d738d87714cf9f071e65e3fb..d0dea7768288edee11aee9a72d2e4473f6ee20c8 100644 (file)
@@ -898,6 +898,7 @@ bool Clean(CommandLine &CmdL)
 
 int main(int argc, const char *argv[])
 {
+   setlocale(LC_ALL, "");
    CommandLine::Args Args[] = {
       {'h',"help","help",0},
       {0,"md5","APT::FTPArchive::MD5",0},