[Po4a-commits] "po4a changelog, 1.495, 1.496 NEWS, 1.96, 1.97 po4a-updatepo, 1.44, 1.45"

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Wed Jul 29 14:32:27 UTC 2009


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

Modified Files:
	changelog NEWS po4a-updatepo 
Log Message:
	* NEWS, po4a-updatepo: Added options --msgid-bugs-address,
	--copyright-holder, --package-name, --package-version to control
	the generation of the PO header.


Index: NEWS
===================================================================
RCS file: /cvsroot/po4a/po4a/NEWS,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- NEWS	22 Jul 2009 10:27:16 -0000	1.96
+++ NEWS	29 Jul 2009 14:32:25 -0000	1.97
@@ -1,6 +1,13 @@
 po4a NEWS
 
 ===============================================================================
+* Major changes in release 0.36.4 (UNRELEASED)
+
+po4a-updatepo
+ * Added options --msgid-bugs-address, --copyright-holder, --package-name,
+   --package-version to control the generation of the PO header.
+
+===============================================================================
 * Major changes in release 0.36.3 (2009-07-22)
 
 Bug fix release.

Index: po4a-updatepo
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a-updatepo,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- po4a-updatepo	7 Mar 2009 12:33:10 -0000	1.44
+++ po4a-updatepo	29 Jul 2009 14:32:25 -0000	1.45
@@ -97,6 +97,24 @@
 
 Output some debugging information.
 
+=item --msgid-bugs-address email at address
+
+Set the report address for msgid bugs. By default, the created POT files
+have no Report-Msgid-Bugs-To fields.
+
+=item --copyright-holder string
+
+Set the copyright holder in the POT header. The default value is
+"Free Software Foundation, Inc."
+
+=item --package-name string
+
+Set the package name for the POT header. The default is "PACKAGE".
+
+=item --package-version string
+
+Set the package version for the POT header. The default is "VERSION".
+
 =back
 
 =head1 SEE ALSO
@@ -146,6 +164,7 @@
 # Parse our options
 my (@masterfiles, at pofiles);
 my ($help,$help_fmt,$verbose,$debug,$format, at options);
+my ($copyright_holder, $msgid_bugs_address, $package_name, $package_version);
 my $mastchar;
 my $previous;
 my $msgmerge_opt = "";
@@ -161,7 +180,11 @@
 	   'option|o=s'  => \@options,
 
 	   'previous'    => \$previous,
-	   'msgmerge-opt=s' => \$msgmerge_opt,
+	   'msgmerge-opt=s'      => \$msgmerge_opt,
+	   'copyright-holder=s'  => \$copyright_holder,
+	   'msgid-bugs-address=s'=> \$msgid_bugs_address,
+	   'package-name=s'      => \$package_name,
+	   'package-version=s'   => \$package_version,
     
 	   'verbose|v'   => \$verbose,
 	   'debug|d'     => \$debug,
@@ -175,8 +198,12 @@
 $msgmerge_opt .= " --previous" if $previous;
 
 my %options = (
-    "verbose" => $verbose,
-    "debug" => $debug);
+    "verbose"            => $verbose,
+    "debug"              => $debug,
+    "copyright-holder"   => $copyright_holder,
+    "msgid-bugs-address" => $msgid_bugs_address,
+    "package-name"       => $package_name,
+    "package-version"    => $package_version);
 
 foreach (@options) {
     if (m/^([^=]*)=(.*)$/) {

Index: changelog
===================================================================
RCS file: /cvsroot/po4a/po4a/changelog,v
retrieving revision 1.495
retrieving revision 1.496
diff -u -d -r1.495 -r1.496
--- changelog	22 Jul 2009 11:18:14 -0000	1.495
+++ changelog	29 Jul 2009 14:32:24 -0000	1.496
@@ -1,3 +1,9 @@
+2009-07-29  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* NEWS, po4a-updatepo: Added options --msgid-bugs-address,
+	--copyright-holder, --package-name, --package-version to control
+	the generation of the PO header.
+
 2009-07-22  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* NEWS, lib/Locale/Po4a/TransTractor.pm: prevent the plugin from




More information about the Po4a-commits mailing list