]> git.deb.at Git - deb/packages.git/commit
debtags-xgettext: Handle linebreaks (and other whitespace) a little more sanely
authorFrank Lichtenheld <frank@lichtenheld.de>
Thu, 21 Aug 2008 12:43:33 +0000 (14:43 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Thu, 21 Aug 2008 12:43:33 +0000 (14:43 +0200)
commitbe05848488b9d81df046d2adadb671f4ee34315c
tree21b69382b5d2cf4d66847add41a9bf5f3bf6235a
parentd3634cc475c6de2a95542b8169e22df0ce766d67
debtags-xgettext: Handle linebreaks (and other whitespace) a little more sanely

Do not include linebreaks from the vocabulary file in the msgids.
Replace \n.\n with a single linebreak. Remove the single whitespace
at the beginning of the long description and new paragraphs.

Together these changes should make it easier for translators to translate
the long descriptions.

fix_old_debtags_po: Script to convert the old .po files to the new format
so that translators don't have to do that manually.
bin/debtags-xgettext
bin/fix_old_debtags_po [new file with mode: 0755]