Package: po4a
Version: 0.33.3-1
Severity: wishlist
Tags: patch

While reviewing the Locale:Po4a:XML manpage I've found some typos:

- the 'untranslated' option is not properly used in a section (uses
  'untranslate' instead - no 'd')

- the section that describes translated / unstranslated is not well
  formed and results in an improper content when viewing the manpage.
  The 'untranslated' option is not shown as such and instead this is
  show as follows:

---------------------------------------------------------------------------------------------------------------
         translated =item unstranslated
           Space-separated list of the tags you want to translate or not.  The 
tags must be in the form <aaa>,
           but you can join some (<bbb><aaa>) to indicate that the content of 
the tag <aaa> will only be 
           translated when its into a <bbb> tag.
---------------------------------------------------------------------------------------------------------------

Notice the '=item' there.

I believe the attached patch fixes these two issues. Please use it in
your next package version.

Thanks

Javier
--- Xml.pm.orig 2008-08-11 01:10:00.000000000 +0200
+++ Xml.pm      2008-08-11 01:11:56.000000000 +0200
@@ -271,7 +271,7 @@
 Example: WE<lt>chapterE<gt>E<lt>titleE<gt>
 
 Note: This option is deprecated.
-You should use the B<translated> and B<untranslate> options instead.
+You should use the B<translated> and B<untranslated> options instead.
 
 =item attributes
 
@@ -306,9 +306,7 @@
 
 =item translated
 
-=item unstranslated
-
-Space-separated list of the tags you want to translate or not.
+Space-separated list of the tags you want to translate.
 The tags must be in the form <aaa>, but you can join some (<bbb><aaa>) to
 indicate that the content of the tag <aaa> will only be translated when
 it’s into a <bbb> tag.
@@ -319,6 +317,11 @@
 
 Example: WE<lt>chapterE<gt>E<lt>titleE<gt>
 
+=item unstranslated
+
+Space-separated list of the tags you do not want to translate or not. It
+uses the same format as the B<translated> option.
+
 =back
 
 =cut

Reply via email to