Skip to content

Handle verbatim sections

Properly handle verbatim sections, usually delimited with custom .Vb and .Ve macros:

 #. type: Plain text
 #: archlinux debian-bookworm debian-unstable fedora-42 fedora-rawhide
 #: mageia-cauldron opensuse-leap-16-0 opensuse-tumbleweed
+#, no-wrap
 msgid ""
-"\\& $ size --format=Berkeley ranlib size \\& text data bss dec hex filename "
-"\\& 294880 81920 11592 388392 5ed28 ranlib \\& 294880 81920 11888 388688 "
-"5ee50 size"
+"\\&        $ size --format=Berkeley ranlib size\n"
+"\\&           text    data     bss     dec     hex filename\n"
+"\\&         294880   81920   11592  388392   5ed28 ranlib\n"
+"\\&         294880   81920   11888  388688   5ee50 size\n"
 msgstr ""

This is especially necessary for the perl.1 ToC that is unreadable otherwise.

Also add a few more macros to the ignore list to reduce the amount of complaints from po4a tools.

Merge request reports

Loading