Bug 581773 - a manual page reference should not break a paragraph for translations / PO files
Summary: a manual page reference should not break a paragraph for translations / PO files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-13 08:06 UTC by Raphaël Hertzog
Modified: 2010-11-24 04:18 UTC (History)
4 users (show)

Fixed In Version: publican-1.6.3-0.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-17 18:56:59 UTC


Attachments (Terms of Use)

Description Raphaël Hertzog 2010-04-13 08:06:11 UTC
If you consider this docbook input:
<para>Its manual page
(<citerefentry><refentrytitle>ar</refentrytitle><manvolnum>1</manvolnum></citerefentry>) documents all the supported options.</para>

publican update_pot will generate 3 strings in the POT files while
I would have expected one only. Having the sentence cut in the middle is counter productive for translations.

Furthermore one comment in the PO file is wrong. The second half of the sentence is attributed to the citerefentry tag while it's clearly not the case.

#. Tag: para
#, no-c-format
msgid "Its manual page ("
msgstr ""

#. Tag: refentrytitle
#, no-c-format
msgid "ar"
msgstr ""

#. Tag: citerefentry
#, no-c-format
msgid ") documents all the supported options."
msgstr ""

Comment 1 Jeff Fearn 🐞 2010-04-13 23:00:30 UTC
refentrytitle is a block in a refmeta but an inline in a citerefentry >_<

Added citerefentry to IGNOREBLOCKS list, it's contents are now treated as inline.

#. Tag: para
#, no-c-format
msgid "Its manual page (<citerefentry><refentrytitle>ar</refentrytitle><manvolnum>1</manvolnum></citerefentry>) documents all the supported options."
msgstr ""

Comment 2 Ruediger Landmann 2010-05-06 04:58:28 UTC
Confirmed that string does not get broken up in version 1.6.3.t122

Comment 3 Fedora Update System 2010-05-13 22:20:44 UTC
publican-1.6.3-0.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13

Comment 4 Fedora Update System 2010-05-13 22:22:01 UTC
publican-1.6.3-0.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12

Comment 5 Fedora Update System 2010-05-15 20:36:24 UTC
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update publican'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12

Comment 6 Fedora Update System 2010-05-15 20:45:39 UTC
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update publican'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13

Comment 7 Fedora Update System 2010-05-17 18:55:41 UTC
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-05-17 18:59:31 UTC
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.