After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541966 - Please provide command line switch to limit line length in pot files
Please provide command line switch to limit line length in pot files
Status: RESOLVED WONTFIX
Product: gnome-doc-utils
Classification: Deprecated
Component: xml2po
CVS HEAD
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-doc-utils maintainers
Danilo Segan
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2008-07-07 22:49 UTC by Emilio Pozuelo Monfort
Modified: 2020-03-03 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Apply proper wrapping using Python TextWrapper (2.34 KB, patch)
2008-07-08 18:30 UTC, Goran Rakic
none Details | Review
Apply proper wrapping using Python TextWrapper (2.34 KB, patch)
2008-07-10 15:24 UTC, Goran Rakic
none Details | Review
Updated patch (2.05 KB, patch)
2011-08-13 14:54 UTC, debian
none Details | Review

Description Emilio Pozuelo Monfort 2008-07-07 22:49:32 UTC
From http://bugs.debian.org/476348:


When I run  
xml2po -e -o foo.pot foo.xml
I get a pot file where there are no line breaks within the msgid
fields, i.e. they might run over several lines.

Example:
msgid "this is a long line with is broken down on several "
"lines to ease work in an editor".

instead of

msgid "this is a long line with is not broken down on several lines to make live harder in an editor".

Ideally this would be modelled along msgmerge(1) command line option.
Comment 1 Claude Paroz 2008-07-08 06:31:56 UTC
Reassigning to xml2po, as it has a separate bugzilla product.
Comment 2 Goran Rakic 2008-07-08 18:30:35 UTC
Created attachment 114203 [details] [review]
Apply proper wrapping using Python TextWrapper
Comment 3 Goran Rakic 2008-07-10 15:24:12 UTC
Created attachment 114318 [details] [review]
Apply proper wrapping using Python TextWrapper 

Fix typo in a patch
Comment 4 debian 2011-08-13 14:54:40 UTC
Created attachment 193771 [details] [review]
Updated patch 

This patch fixes the (now) correct source file and properly retains white spaces at the wrapped end of lines.
Comment 5 André Klapper 2020-03-03 18:34:56 UTC
gnome-doc-utils has been superseded by yelp-xsl, yelp-tools, and itstool.

gnome-doc-utils will not see any further development, hence closing as WONTFIX.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/255