tags 513716 pending fixed-upstream
thanks

On Sun, Feb 01, 2009 at 01:16:49AM +0900, Osamu Aoki wrote:
> 
> This is like http://bugs.debian.org/500448 but with <footnote> contents.
> This problem is a bit more complicated.  (<footnote> is inline elemrnt.)
> 
> Since <footnote> can nest <para> within it.  So I do not have solution
> now.  It causes pain to translate XML file for pbuilder.

The current upstream solution for this are placeholders.

Here is an example from the aptitude documentation:

            <para>
              These commands install, remove, or
              purge<footnote><para>Purging a package removes the
              package, as well as all its configuration
              files.</para></footnote> the specified packages.
              <quote>Installing</quote> a package which is already installed but
              can be upgraded will cause it to be upgraded.
            </para>

Which produces the following PO messages:

# type: Content of: 
<book><chapter><section><variablelist><varlistentry><listitem><para><footnote><para>
#: en/aptitude.xml:1790
msgid ""
"Purging a package removes the package, as well as all its configuration "
"files."
msgstr ""

# type: Content of: 
<book><chapter><section><variablelist><varlistentry><listitem><para>
#: en/aptitude.xml:1789
msgid ""
"These commands install, remove, or purge<placeholder0> the specified "
"packages.  <quote>Installing</quote> a package which is already installed "
"but can be upgraded will cause it to be upgraded."
msgstr ""

Placeholders already exist (although they are not documented), but I don't
think the support for placeholders in 0.34 is sufficient (you can try by
adding -o placeholder="<footnote>").

This will give you one more reason to wait for the next release ;)

Best Regards,
-- 
Nekral



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to