Bug#464543: no msgid generated for ulink in para (DocBook)

2008-03-03 Thread Nicolas François
Hello,

On Fri, Feb 29, 2008 at 11:04:00PM +0100, Nicolas FRANCOIS wrote:
 #- [docbook] Added support for the keyword and ulink elements. Thanks
 #  to W. Martin Borgert [EMAIL PROTECTED]. Closes: #463387, #464543

Note that I finally changed the way 464543 is fixed (in the now uploaded 0.33)

inline tags are now translated, even if a paragraph only consists in an
inline tag (or multiple inline tags).

For the docbook I tested, this adds a lot more strings for translation.

Best Regards,
-- 
Nekral



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#464543: no msgid generated for ulink in para (DocBook)

2008-02-07 Thread W. Borgert
Package: po4a
Version: 0.32-1
Severity: normal
Tags: patch

For a DocBook XML input, such as

paraulink
  url=http://www.debian.org/;Universal Operating
  System/ulink/para
paraOr not?/para

no msgid for the first paragraph is generated by
po4a-gettextize, only for the second one. Command line was:

$ po4a-gettextize -f docbook -m test.dbk -p foo.po

If there is any additional text inside of the para, but outside
of the ulink, everything works fine. Fix is attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages po4a depends on:
ii  gettext   0.17-2 GNU Internationalization utilities
ii  libsgmls-perl 1.03ii-32  Perl modules for processing SGML p
ii  perl  5.8.8-12   Larry Wall's Practical Extraction 
ii  perl-modules  5.8.8-12   Core Perl modules
ii  sp1.3.4-1.2.1-47 James Clark's SGML parsing tools

Versions of packages po4a recommends:
ii  liblocale-gettext-perl1.05-2 Using libc functions for internati
ii  libterm-readkey-perl  2.30-3 A perl module for simple terminal 
ii  libtext-wrapi18n-perl 0.06-5 internationalized substitute of Te

-- no debconf information
--- Docbook.pm.orig	2008-01-31 10:53:25.0 +0100
+++ Docbook.pm	2008-02-07 15:41:55.0 +0100
@@ -139,6 +139,7 @@
 		term
 		title
 		titleabbrev
+		ulink
 		userinput) {
 		if (not defined $self-{nodefault}{$tag}) {
 			$additional_tags .=  $tag;