[Po4a-commits] "po4a/scripts msguntypot,1.3,1.4"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sat Mar 7 12:22:37 UTC 2009


Update of /cvsroot/po4a/po4a/scripts
In directory alioth:/tmp/cvs-serv19718/scripts

Modified Files:
	msguntypot 
Log Message:
	* scripts/msguntypot: Do not include Locale::gettext directly. Use
	Locale::Po4a::Common instead.


Index: msguntypot
===================================================================
RCS file: /cvsroot/po4a/po4a/scripts/msguntypot,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- msguntypot	4 Dec 2005 16:56:34 -0000	1.3
+++ msguntypot	7 Mar 2009 12:22:35 -0000	1.4
@@ -126,11 +126,7 @@
 
 use File::Temp;
 
-use Locale::gettext;
-use POSIX;     # Needed for setlocale()
-
-setlocale(LC_MESSAGES, "");
-textdomain('po4a');
+Locale::Po4a::Common::textdomain('po4a');
 
 sub show_version {
     Locale::Po4a::Common::show_version("msguntypot");




More information about the Po4a-commits mailing list