Package: aptitude
Version: 0.4.3-1
Severity: normal
Tags: patch l10n

Hi,

In the following paragraph in doc/en/manpage.xml, <option> is recognized
as a block separator by po4a:

<para>
  Unless you pass the <link
  linkend='cmdlineOptionFormat'><option>-F</option></link> option, the output of
  <literal>aptitude search</literal> will look something
  like this:
</para>

So, the paragraph is broken into 3 messages and hard to translate.
To make better po files, it would be good to use <literal> tag, which is
used for marking other options.
Here is a patch to do so.

This patch also provides a fix to minor typo in doc/en/aptitude.xml,
which I wouldn't like to report a bug.

Thanks,

-nori


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6 0.5.28.6           Advanced front-end for dpkg
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libgcc1               1:3.4.3-13sarge1   GCC support library
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  libsigc++-1.2-5c102   1.2.5-4            type-safe Signal Framework for C++
ii  libstdc++5            1:3.3.5-13         The GNU Standard C++ Library v3

-- no debconf information
Index: doc/en/manpage.xml
===================================================================
--- doc/en/manpage.xml  (revision 914)
+++ doc/en/manpage.xml  (working copy)
@@ -457,7 +457,7 @@
 
          <para>
            Unless you pass the <link
-           linkend='cmdlineOptionFormat'><option>-F</option></link> option, 
the output of
+           linkend='cmdlineOptionFormat'><literal>-F</literal></link> option, 
the output of
            <literal>aptitude search</literal> will look something
            like this:
          </para>
Index: doc/en/aptitude.xml
===================================================================
--- doc/en/aptitude.xml (revision 914)
+++ doc/en/aptitude.xml (working copy)
@@ -2405,7 +2405,7 @@
                      Display a dialog box in which you can set
                      options pertaining to how dependencies are
                      treated: for instance, whether to automatically
-                     installed packages which are recommended by
+                     install packages which are recommended by
                      other packages.  <!-- TODO: See <xref
                      linkend='secOptionsDep'/>. -->
                    </entry>

Reply via email to