[Po4a-commits] r2570 - in /trunk: lib/Locale/Po4a/Po.pm po4a po4a-updatepo

barbier-guest at users.alioth.debian.org barbier-guest at users.alioth.debian.org
Sun Sep 9 10:24:26 UTC 2012


Author: barbier-guest
Date: Sun Sep  9 10:24:26 2012
New Revision: 2570

URL: http://svn.debian.org/wsvn/po4a/?sc=1&rev=2570
Log:
po4a: Add documentation for the new --porefs flag

In po4a, rearrange options to better show which options operate on POT and PO
files. Copy the same description of PO flags in po4a, po4a-updatepo and
lib/Locale/Po4a/Po.pm.

Modified:
    trunk/lib/Locale/Po4a/Po.pm
    trunk/po4a
    trunk/po4a-updatepo

Modified: trunk/lib/Locale/Po4a/Po.pm
URL: http://svn.debian.org/wsvn/po4a/trunk/lib/Locale/Po4a/Po.pm?rev=2570&op=diff
==============================================================================
--- trunk/lib/Locale/Po4a/Po.pm (original)
+++ trunk/lib/Locale/Po4a/Po.pm Sun Sep  9 10:24:26 2012
@@ -51,11 +51,30 @@
 
 =over 4
 
-=item B<porefs>
-
-This specifies the reference format. It can be one of B<none> to not produce
-any reference, B<noline> to not specify the line number, and B<full> to
-include complete references.
+=item B<porefs> I<type>
+
+Specify the reference format. Argument I<type> can be one of B<none> to not
+produce any reference, B<noline> to not specify the line number (more
+accurately all line numbers are replaced by 1), and B<full> to include complete
+references.
+
+=item B<--msgid-bugs-address> I<email at address>
+
+Set the report address for msgid bugs. By default, the created POT files
+have no Report-Msgid-Bugs-To fields.
+
+=item B<--copyright-holder> I<string>
+
+Set the copyright holder in the POT header. The default value is
+"Free Software Foundation, Inc."
+
+=item B<--package-name> I<string>
+
+Set the package name for the POT header. The default is "PACKAGE".
+
+=item B<--package-version> I<string>
+
+Set the package version for the POT header. The default is "VERSION".
 
 =back
 

Modified: trunk/po4a
URL: http://svn.debian.org/wsvn/po4a/trunk/po4a?rev=2570&op=diff
==============================================================================
--- trunk/po4a (original)
+++ trunk/po4a Sun Sep  9 10:24:26 2012
@@ -402,6 +402,29 @@
 Every occurrence of I<$(var)> will be replaced by I<value>.
 This option can be used multiple times.
 
+=item B<--srcdir> I<SRCDIR>
+
+Set the base directory for all input documents specified in the B<po4a>
+configuration file.
+
+=item B<--destdir> I<DESTDIR>
+
+Set the base directory for all the output documents specified in the B<po4a>
+configuration file.
+
+=back
+
+=head2 OPTIONS WHICH MODIFY POT HEADER
+
+=over 4
+
+=item B<porefs> I<type>
+
+Specify the reference format. Argument I<type> can be one of B<none> to not
+produce any reference, B<noline> to not specify the line number (more
+accurately all line numbers are replaced by 1), and B<full> to include complete
+references.
+
 =item B<--msgid-bugs-address> I<email at address>
 
 Set the report address for msgid bugs. By default, the created POT files
@@ -420,6 +443,12 @@
 
 Set the package version for the POT header. The default is "VERSION".
 
+=back
+
+=head2 OPTIONS TO MODIFY PO FILES
+
+=over 4
+
 =item B<--msgmerge-opt> I<options>
 
 Extra options for B<msgmerge>.
@@ -435,16 +464,6 @@
 
 This option adds B<--previous> to the options passed to B<msgmerge>.
 It requires B<gettext> 0.16 or later, and is activated by default.
-
-=item B<--srcdir> I<SRCDIR>
-
-Set the base directory for all input documents specified in the B<po4a>
-configuration file.
-
-=item B<--destdir> I<DESTDIR>
-
-Set the base directory for all the output documents specified in the B<po4a>
-configuration file.
 
 =back
 

Modified: trunk/po4a-updatepo
URL: http://svn.debian.org/wsvn/po4a/trunk/po4a-updatepo?rev=2570&op=diff
==============================================================================
--- trunk/po4a-updatepo (original)
+++ trunk/po4a-updatepo Sun Sep  9 10:24:26 2012
@@ -102,6 +102,13 @@
 =item B<-d>, B<--debug>
 
 Output some debugging information.
+
+=item B<porefs> I<type>
+
+Specify the reference format. Argument I<type> can be one of B<none> to not
+produce any reference, B<noline> to not specify the line number (more
+accurately all line numbers are replaced by 1), and B<full> to include complete
+references.
 
 =item B<--msgid-bugs-address> I<email at address>
 




More information about the Po4a-commits mailing list