summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-11-24 15:22:51 +0100
committerJulian Andres Klode <jak@debian.org>2009-11-24 15:22:51 +0100
commit1692a2c79f4c423ff257a882a1e8e16c3edad882 (patch)
tree6f5e2f75a8b763eca9595522227b202dae3b5858
parent51792c49db9d0f1f8c57a93ff1e17a7aca5b378f (diff)
* ftparchive/apt-ftparchive.cc:
- Call setlocale() so translations are actually used.
-rw-r--r--debian/changelog2
-rw-r--r--ftparchive/apt-ftparchive.cc1
2 files changed, 3 insertions, 0 deletions
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 <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
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},