Skip to content

Commit

Permalink
po4a: add the space cleaning option
Browse files Browse the repository at this point in the history
  • Loading branch information
jnavila committed Jul 11, 2024
1 parent 5235373 commit 8e0105c
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"\n')
f.write('\n[po4a_paths] po/documentation.pot $lang:po/documentation.$lang.po\n[options] opt: " -k 80 -o cleanspaces=1"\n')
with open('sources.txt', 'r') as sources:
for source in sources:
source = source.strip()
Expand Down

0 comments on commit 8e0105c

Please sign in to comment.