[Po4a-commits] po4a/lib/Locale/Po4a Chooser.pm,1.26,1.27 Debconf.pm,1.3,1.4 Html.pm,1.10,1.11 Man.pm,1.91,1.92 NewsDebian.pm,1.3,1.4 Po.pm,1.41,1.42 Sgml.pm,1.58,1.59 TeX.pm,1.58,1.59 TransTractor.pm,1.66,1.67 Xml.pm,1.27,1.28

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


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

Modified Files:
	Chooser.pm Debconf.pm Html.pm Man.pm NewsDebian.pm Po.pm 
	Sgml.pm TeX.pm TransTractor.pm Xml.pm 
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: TransTractor.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TransTractor.pm,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- TransTractor.pm	25 May 2005 17:05:05 -0000	1.66
+++ TransTractor.pm	30 May 2005 07:05:23 -0000	1.67
@@ -20,7 +20,6 @@
 use Locale::Po4a::Po;
 use Locale::Po4a::Common;
 
-use Locale::gettext qw(dgettext);
 use File::Path; # mkdir before write
 
 use Encode;

Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- TeX.pm	23 Apr 2005 17:41:34 -0000	1.58
+++ TeX.pm	30 May 2005 07:05:23 -0000	1.59
@@ -80,7 +80,6 @@
 
 use Locale::Po4a::TransTractor;
 use Locale::Po4a::Common;
-use Locale::gettext qw(dgettext);
 use File::Basename qw(dirname);
 use Carp qw(croak);
 

Index: Html.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Html.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Html.pm	7 Jan 2005 22:50:52 -0000	1.10
+++ Html.pm	30 May 2005 07:05:22 -0000	1.11
@@ -51,7 +51,6 @@
 @EXPORT = qw(new initialize);
 
 use Locale::Po4a::TransTractor;
-use Locale::gettext qw(gettext);
 
 use strict;
 use warnings;

Index: Debconf.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Debconf.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Debconf.pm	27 Feb 2005 22:53:52 -0000	1.3
+++ Debconf.pm	30 May 2005 07:05:22 -0000	1.4
@@ -68,7 +68,6 @@
 
 use Locale::Po4a::TransTractor;
 use Locale::Po4a::Common;
-use Locale::gettext qw(dgettext);
 
 
 sub initialize {}

Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- Sgml.pm	28 May 2005 19:03:07 -0000	1.58
+++ Sgml.pm	30 May 2005 07:05:22 -0000	1.59
@@ -176,7 +176,6 @@
 
 use Locale::Po4a::TransTractor;
 use Locale::Po4a::Common;
-use Locale::gettext qw(dgettext);
 
 eval qq{use SGMLS};
 if ($@) {

Index: NewsDebian.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/NewsDebian.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- NewsDebian.pm	27 Feb 2005 22:53:53 -0000	1.3
+++ NewsDebian.pm	30 May 2005 07:05:22 -0000	1.4
@@ -61,7 +61,6 @@
 
 use Locale::Po4a::TransTractor;
 use Locale::Po4a::Common;
-use Locale::gettext qw(dgettext);
 
 
 sub initialize {}

Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- Xml.pm	21 May 2005 15:51:12 -0000	1.27
+++ Xml.pm	30 May 2005 07:05:23 -0000	1.28
@@ -59,7 +59,6 @@
 
 use Locale::Po4a::TransTractor;
 use Locale::Po4a::Common;
-use Locale::gettext qw(dgettext);
 
 #It will mantain the path from the root tag to the current one
 my @path;

Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- Po.pm	3 Apr 2005 21:15:22 -0000	1.41
+++ Po.pm	30 May 2005 07:05:22 -0000	1.42
@@ -57,7 +57,7 @@
 package Locale::Po4a::Po;
 
 use Locale::Po4a::TransTractor;
-use Locale::Po4a::Common;
+use Locale::Po4a::Common qw(wrap_msg wrap_mod wrap_ref_mod dgettext);
 
 use 5.006;
 use strict;
@@ -70,7 +70,6 @@
 @EXPORT = qw(load write gettext);
 
 use Carp qw(croak);
-use Locale::gettext qw(dgettext);
 use File::Path; # mkdir before write
 
 use Encode;

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- Man.pm	25 May 2005 14:12:30 -0000	1.91
+++ Man.pm	30 May 2005 07:05:22 -0000	1.92
@@ -280,7 +280,6 @@
 @EXPORT = qw();#  new initialize);
 use Locale::Po4a::TransTractor;
 use Locale::Po4a::Common;
-use Locale::gettext qw(dgettext);
 
 use File::Spec;
 use Getopt::Std;

Index: Chooser.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Chooser.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Chooser.pm	25 May 2005 17:08:40 -0000	1.26
+++ Chooser.pm	30 May 2005 07:05:22 -0000	1.27
@@ -18,7 +18,6 @@
 use 5.006;
 use strict;
 use warnings;
-use Locale::gettext;
 use Locale::Po4a::Common;
 
 sub new {