You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the first word of the TIP box (haven't check others boxes) and numbered list is surrounded by asterisk to denote bold markup, the whole string is extracted as a no-wrap string.
Take this master test.adoc:
TIP: we're starting a
multi-line
Tip box.
TIP: *now bold*
text in
the beginning
1. Now anumbereditem2. *starting* withbold word
Run po4a-updatepo --format asciidoc --master test.adoc --master-charset UTF-8 --po test.pot
The resulting POT file:
#. type: Plain text
#: test.adoc:4
msgid "we're starting a multi-line Tip box."
msgstr ""
#. type: Plain text
#: test.adoc:8
#, no-wrap
msgid ""
"*now bold*\n"
"text in\n"
"the beginning\n"
msgstr ""
#. type: Plain text
#: test.adoc:12
msgid "Now a numbered item"
msgstr ""
#. type: Plain text
#: test.adoc:14
#, no-wrap
msgid ""
"*starting* with\n"
"bold word\n"
msgstr ""
$ po4a-updatepo --version | head -1
po4a-updatepo version 0.69.
The text was updated successfully, but these errors were encountered:
rffontenelle
changed the title
AsciiDoc: numered list or TIP box text starting with bold markup becomes no-wrap
AsciiDoc: numbered list or TIP box text starting with bold markup becomes no-wrap
Dec 14, 2023
When the first word of the TIP box (haven't check others boxes) and numbered list is surrounded by asterisk to denote bold markup, the whole string is extracted as a no-wrap string.
Take this master
test.adoc
:Run
po4a-updatepo --format asciidoc --master test.adoc --master-charset UTF-8 --po test.pot
The resulting POT file:
The text was updated successfully, but these errors were encountered: