Просмотр исходного кода

* ftparchive/apt-ftparchive.cc:
- Call setlocale() so translations are actually used.

Julian Andres Klode лет назад: 16
Родитель
Сommit
1692a2c79f
2 измененных файлов с 3 добавлено и 0 удалено
  1. 2 0
      debian/changelog
  2. 1 0
      ftparchive/apt-ftparchive.cc

+ 2 - 0
debian/changelog

@@ -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
 

+ 1 - 0
ftparchive/apt-ftparchive.cc

@@ -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},