[Po4a-devel] Problems with Docbook/Xml module

Thomas Huriaux thomas.huriaux at gmail.com
Tue Nov 8 15:56:11 UTC 2005


Nicolas François <nicolas.francois at centraliens.net> (21/10/2005):
> > * the <screen> tag in Docbook must be set as translatable and "no-wrap"
> >   It is easy to fix in Docbook.pm, please just add in the tags option:
> > 	+               W<screen>
> 
> Done. Thanks.

Another similar problem:
In the manpage of aptitude, there is the following string:

  <term><literal>-q<arg
  choice='opt'>=<replaceable>n</replaceable></arg></literal>,
  <literal>--quiet<arg
  choice='opt'>=<replaceable>n</replaceable></arg></literal></term>

which is gettextized as following:

  # type: Content of:
  # <refentry><refsect1><variablelist><varlistentry><term>
  #: en/manpage.xml:827
  msgid "<literal>-q"
  msgstr ""

  # type: Content of:
  # <book><chapter><section><variablelist><varlistentry><term>
  #: en/manpage.xml:827
  msgid "=<replaceable>n</replaceable>"
  msgstr ""

  # type: Content of:
  # <book><chapter><section><variablelist><varlistentry><term>
  #: en/manpage.xml:827
  msgid "</literal>, <literal>--quiet"
  msgstr ""

  # type: Content of:
  # <refentry><refsect1><variablelist><varlistentry><term>
  #: en/manpage.xml:827
  msgid "</literal>"
  msgstr ""

Shouldn't the <arg> tag treated as inline?

Cheers,


-- 
Thomas Huriaux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20051108/004214ad/attachment.pgp


More information about the Po4a-devel mailing list