[Po4a-devel] Markdown & nowrap

Cédric Moreau cem.moreau at gmail.com
Sun Aug 16 20:26:04 UTC 2015


Hello guys,

First, thank you for your great work. It seems to be the tool I needed to
translate a technical blog of our (http://ucoin.io, powered by Ghost
https://ghost.org).

I successfully managed to extract .pot files from markdown using
po4a-gettextize. Here is an extract:

#. type: Plain text
> #: 2015-01-11-welcome-to-ghost-2.md:5
> msgid ""
> "There we are! uCoin finally has its own blog, which will also act as main
> "
> "website. You will find here regular news about the project, events, and "
> "various analysis of existing and incoming currencies (crypto or not). Do
> not "
> "forget we also have:"
> msgstr ""
> ""


However, I am getting an issue with line wrapping when converting back to
markdown: I do have some phrases longer than 76 characters in the original
document, but po4a wraps these lines in rendering.

My translation of above example gave:

#. type: Plain text
> #: 2015-01-11-welcome-to-ghost-2.md:5
> msgid ""
> "There we are! uCoin finally has its own blog, which will also act as main
> "
> "website. You will find here regular news about the project, events, and "
> "various analysis of existing and incoming currencies (crypto or not). Do
> not "
> "forget we also have:"
> msgstr ""
> "Nous y sommes! uCoin dispose enfin de son propre blog, qui servira
> également "
> "de site web. Vous y trouverez des nouvelles régulières du projet, des "
> "événements, et des analyses variées des monnaies existantes ("
> "cryptographiques ou non). N'oubliez pas que nous disposons aussi :"


And finally, the markdown result gives me :

Nous y sommes! uCoin dispose enfin de son propre blog, qui servira également
> de site web. Vous y trouverez des nouvelles régulières du projet, des
> événements, et des analyses variées des monnaies existantes
> (cryptographiques ou non). N'oubliez pas que nous disposons aussi :


I do not understand *why* lines are wrapped that way. I do not want
wrapping, just a very long line.

I've tried some "porefs=full,nowrap" without success.

Where am I wrong please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20150816/b32ab526/attachment.html>


More information about the Po4a-devel mailing list