[Po4a-commits] po4a msgsearch,1.6,1.7 po4a-gettextize,1.31,1.32 po4a-normalize,1.25,1.26 po4a-translate,1.37,1.38 po4a-updatepo,1.34,1.35

Martin Quinson po4a-devel@lists.alioth.debian.org
Mon, 30 May 2005 07:05:24 +0000


Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv24981

Modified Files:
	msgsearch po4a-gettextize po4a-normalize po4a-translate 
	po4a-updatepo 
Log Message:
use the Locale::gettext wrapper defined in Locale::Po4a::Common so that things still works (without translating errmsg) when this dependency is missing [FG]

Index: msgsearch
===================================================================
RCS file: /cvsroot/po4a/po4a/msgsearch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- msgsearch	27 Feb 2005 22:56:00 -0000	1.6
+++ msgsearch	30 May 2005 07:05:21 -0000	1.7
@@ -143,13 +143,10 @@
 use Getopt::Long qw(GetOptions);
 
 use Locale::Po4a::Po;
+use Locale::Po4a::Common;
 
 use Pod::Usage qw(pod2usage);
 
-use Locale::gettext;
-use POSIX;     # Needed for setlocale()
-
-setlocale(LC_MESSAGES, "");
 textdomain('po4a');
 
 sub show_version {

Index: po4a-normalize
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-normalize,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- po4a-normalize	25 May 2005 16:34:06 -0000	1.25
+++ po4a-normalize	30 May 2005 07:05:21 -0000	1.26
@@ -95,12 +95,8 @@
 
 use Getopt::Long qw(GetOptions);
 
-use Locale::gettext;
-use POSIX;     # Needed for setlocale()
-
 use Pod::Usage qw(pod2usage);
 
-setlocale(LC_MESSAGES, "");
 textdomain('po4a');
 
 sub show_version {

Index: po4a-translate
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-translate,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- po4a-translate	25 May 2005 16:34:13 -0000	1.37
+++ po4a-translate	30 May 2005 07:05:21 -0000	1.38
@@ -161,10 +161,6 @@
 use Pod::Usage qw(pod2usage);
 use Getopt::Long qw(GetOptions);
 
-use Locale::gettext;
-use POSIX;     # Needed for setlocale()
-
-setlocale(LC_ALL, "");
 textdomain("po4a");
 
 sub show_version {

Index: po4a-updatepo
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-updatepo,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- po4a-updatepo	25 May 2005 16:34:13 -0000	1.34
+++ po4a-updatepo	30 May 2005 07:05:21 -0000	1.35
@@ -125,10 +125,6 @@
 
 use File::Temp;
 
-use Locale::gettext;
-use POSIX;     # Needed for setlocale()
-
-setlocale(LC_MESSAGES, "");
 textdomain('po4a');
 
 sub show_version {

Index: po4a-gettextize
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-gettextize,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- po4a-gettextize	25 May 2005 16:34:06 -0000	1.31
+++ po4a-gettextize	30 May 2005 07:05:21 -0000	1.32
@@ -144,10 +144,6 @@
 
 use Pod::Usage qw(pod2usage);
 
-use Locale::gettext;
-use POSIX;     # Needed for setlocale()
-
-setlocale(LC_MESSAGES, "");
 textdomain('po4a');