From 67111687c005d470d176a2029336e4f2b5dc77de Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:58:51 +0000 Subject: setup textdomain/etc for i18n stuff Author: jgg Date: 2002-01-09 04:59:44 GMT setup textdomain/etc for i18n stuff --- cmdline/apt-config.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cmdline/apt-config.cc') diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc index 327700e1c..5d4efdcbc 100644 --- a/cmdline/apt-config.cc +++ b/cmdline/apt-config.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-config.cc,v 1.7 2001/02/20 07:03:17 jgg Exp $ +// $Id: apt-config.cc,v 1.8 2002/01/09 04:59:44 jgg Exp $ /* ###################################################################### APT Config - Program to manipulate APT configuration files @@ -98,7 +98,11 @@ int main(int argc,const char *argv[]) CommandLine::Dispatch Cmds[] = {{"shell",&DoShell}, {"dump",&DoDump}, {0,0}}; - + + // 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 || -- cgit v1.2.3-70-g09d2