From: Julian Andres Klode Date: Tue, 24 Nov 2009 14:22:51 +0000 (+0100) Subject: * ftparchive/apt-ftparchive.cc: X-Git-Tag: 0.7.25~18 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/1692a2c79f4c423ff257a882a1e8e16c3edad882 * ftparchive/apt-ftparchive.cc: - Call setlocale() so translations are actually used. --- diff --git a/debian/changelog b/debian/changelog index 28f24f396..3f70b440d 100644 --- a/debian/changelog +++ b/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 . + * ftparchive/apt-ftparchive.cc: + - Call setlocale() so translations are actually used. -- Michael Vogt Tue, 29 Sep 2009 15:51:34 +0200 diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc index 3b1e80631..d0dea7768 100644 --- a/ftparchive/apt-ftparchive.cc +++ b/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},