From 1692a2c79f4c423ff257a882a1e8e16c3edad882 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 24 Nov 2009 15:22:51 +0100 Subject: * ftparchive/apt-ftparchive.cc: - Call setlocale() so translations are actually used. --- debian/changelog | 2 ++ ftparchive/apt-ftparchive.cc | 1 + 2 files changed, 3 insertions(+) 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}, -- cgit v1.2.3