[Po4a-commits] po4a msgsearch,1.7,1.8 po4a,1.28,1.29 po4a-gettextize,1.32,1.33 po4a-normalize,1.26,1.27 po4a-translate,1.38,1.39 po4a-updatepo,1.35,1.36
Martin Quinson
po4a-devel@lists.alioth.debian.org
Mon, 30 May 2005 07:13:40 +0000
Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv2097
Modified Files:
msgsearch po4a po4a-gettextize po4a-normalize po4a-translate
po4a-updatepo
Log Message:
Remove unneeded imports of TransTractor::VERSION. [FG]
Index: po4a-normalize
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-normalize,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- po4a-normalize 30 May 2005 07:05:21 -0000 1.26
+++ po4a-normalize 30 May 2005 07:13:38 -0000 1.27
@@ -10,8 +10,6 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of GPL (see COPYING).
-my $VERSION=$Locale::Po4a::TransTractor::VERSION;
-
=head1 NAME
po4a-normalize - normalize a documentation file by parsing it in po4a, and writing it back
Index: po4a-translate
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-translate,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- po4a-translate 30 May 2005 07:05:21 -0000 1.38
+++ po4a-translate 30 May 2005 07:13:38 -0000 1.39
@@ -10,8 +10,6 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of GPL (see COPYING).
-my $VERSION=$Locale::Po4a::TransTractor::VERSION;
-
=head1 NAME
po4a-translate - convert a po file back to documentation format
Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- po4a 24 Apr 2005 01:09:24 -0000 1.28
+++ po4a 30 May 2005 07:13:38 -0000 1.29
@@ -10,8 +10,6 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of GPL (see COPYING).
-my $VERSION=$Locale::Po4a::TransTractor::VERSION;
-
=head1 NAME
po4a - update both the po files and translated documents in one shot
@@ -201,10 +199,6 @@
use File::Temp;
-use Locale::gettext;
-use POSIX; # Needed for setlocale()
-
-setlocale(LC_MESSAGES, "");
textdomain('po4a');
Index: po4a-updatepo
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-updatepo,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- po4a-updatepo 30 May 2005 07:05:21 -0000 1.35
+++ po4a-updatepo 30 May 2005 07:13:38 -0000 1.36
@@ -10,8 +10,6 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of GPL (see COPYING).
-my $VERSION=$Locale::Po4a::TransTractor::VERSION;
-
=head1 NAME
po4a-updatepo - update the translation (in po format) of documentation
Index: msgsearch
===================================================================
RCS file: /cvsroot/po4a/po4a/msgsearch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- msgsearch 30 May 2005 07:05:21 -0000 1.7
+++ msgsearch 30 May 2005 07:13:37 -0000 1.8
@@ -9,7 +9,6 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of GPL (see COPYING).
-my $VERSION=$Locale::Po4a::TransTractor::VERSION;
=head1 NAME
@@ -150,14 +149,7 @@
textdomain('po4a');
sub show_version {
- print sprintf(gettext(
- "%s version %s.\n".
- "written by Martin Quinson and Denis Barbier.\n\n".
- "Copyright (C) 2002, 2003, 2004 Software of Public Interest, Inc.\n".
- "This is free software; see source code for copying\n".
- "conditions. There is NO warranty; not even for\n".
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
- ), "msgsearch", $VERSION)."\n";
+ Locale::Po4a::Common::show_version("msgsearch");
exit 0;
}
Index: po4a-gettextize
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-gettextize,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- po4a-gettextize 30 May 2005 07:05:21 -0000 1.32
+++ po4a-gettextize 30 May 2005 07:13:38 -0000 1.33
@@ -10,8 +10,6 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of GPL (see COPYING).
-my $VERSION=$Locale::Po4a::TransTractor::VERSION;
-
=head1 NAME
po4a-gettextize - convert an original file (and its translation) to a po file