|
@@ -1,6 +1,6 @@
|
|
|
// -*- mode: cpp; mode: fold -*-
|
|
// -*- mode: cpp; mode: fold -*-
|
|
|
// Description /*{{{*/
|
|
// Description /*{{{*/
|
|
|
-// $Id: init.cc,v 1.17 2001/12/05 07:22:39 tausq Exp $
|
|
|
|
|
|
|
+// $Id: init.cc,v 1.18 2002/10/16 05:21:33 jgg Exp $
|
|
|
/* ######################################################################
|
|
/* ######################################################################
|
|
|
|
|
|
|
|
Init - Initialize the package library
|
|
Init - Initialize the package library
|
|
@@ -93,7 +93,13 @@ bool pkgInitConfig(Configuration &Cnf)
|
|
|
|
|
|
|
|
if (Cnf.FindB("Debug::pkgInitConfig",false) == true)
|
|
if (Cnf.FindB("Debug::pkgInitConfig",false) == true)
|
|
|
Cnf.Dump();
|
|
Cnf.Dump();
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if (Cnf.Exists("Dir::Locale"))
|
|
|
|
|
+ {
|
|
|
|
|
+ bindtextdomain(DOMAIN,Cnf.FindDir("Dir::Locale").c_str());
|
|
|
|
|
+ bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|