Package: po4a Version: 0.62-1
I ran into something while setting up po4a in the LinuxCNC project, which I suspect is a bug in po4a handling of AsciiDoc tables. This set of test files demonstrate the problem, where the translated table format is messed up (lacking newlines). Note, adding '.' at the end of the lines with directions avoid the problem. % cat table.adoc = table test .HAL Option Names [width="100%", cols="<3s,4*<"] |=========================================================== |Pin and Parameter Types: |HAL_BIT |HAL_FLOAT |HAL_S32 |HAL_U32 |Pin Directions: |HAL_IN |HAL_OUT |HAL_IO | |Parameter Directions: |HAL_RO |HAL_RW | | |=========================================================== % cat po4a.cfg [po4a_langs] fr [po4a_paths] table.pot $lang:$lang.po [po4a_alias:AsciiDoc_def] AsciiDoc opt:"--keep 0 --option 'entry=lang' --option 'tablecells'" [type: AsciiDoc_def] table.adoc $lang:$lang/table.adoc % po4a po4a.cfg; cat fr/table.adoc = table test .HAL Option Names [width="100%", cols="<3s,4*<"] |=========================================================== |Pin and Parameter Types: |HAL_BIT |HAL_FLOAT |HAL_S32 |HAL_U32 |Pin Directions: |HAL_IN |HAL_OUT |HAL_IO ||Parameter Directions: |HAL_RO |HAL_RW | ||=========================================================== % -- Happy hacking Petter Reinholdtsen