Skip to content

Commit

Permalink
po4a: disable wrapping in po files
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
  • Loading branch information
jnavila committed Dec 8, 2024
1 parent cdfbc34 commit 47bd441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_po4a_conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ with open('po4a.conf', 'w') as f:
langs = [ l[17:-3] for l in glob.glob('po/documentation.*.po')]
langs.sort()
f.write(' '.join(langs))
f.write('\n[po4a_paths] po/documentation.pot $lang:po/documentation.$lang.po\n[options] opt: " -k 80" opt:" -o cleanspaces=1"\n')
f.write('\n[po4a_paths] po/documentation.pot $lang:po/documentation.$lang.po\n[options] opt: " -k 80" opt:" -o cleanspaces=1" opt:" --wrap-po no"\n')
with open('sources.txt', 'r') as sources:
for source in sources:
source = source.strip()
Expand Down

0 comments on commit 47bd441

Please sign in to comment.