diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:51 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:51 +0000 |
commit | 67111687c005d470d176a2029336e4f2b5dc77de (patch) | |
tree | e4a062ecfec4ec50ad89ee81e5a2669229b4b4b2 /cmdline/apt-cache.cc | |
parent | c908c48e2be92df532dbbf1f15557308ee1c555b (diff) |
setup textdomain/etc for i18n stuff
Author: jgg
Date: 2002-01-09 04:59:44 GMT
setup textdomain/etc for i18n stuff
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r-- | cmdline/apt-cache.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 426bfc5b9..3c7084c9d 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-cache.cc,v 1.54 2001/12/26 06:47:58 jgg Exp $ +// $Id: apt-cache.cc,v 1.55 2002/01/09 04:59:44 jgg Exp $ /* ###################################################################### apt-cache - Manages the cache files @@ -1337,7 +1337,11 @@ int main(int argc,const char *argv[]) {0,0}}; CacheInitialize(); - + + // Set up gettext support + setlocale(LC_ALL,""); + textdomain(PACKAGE); + // Parse the command line and initialize the package library CommandLine CmdL(Args,_config); if (pkgInitConfig(*_config) == false || |