fix: disable line wrapping for PO files

This is a relic from old days where text had to be formatted <80 chars so
terminals can read them. We have massive screens now.
This commit is contained in:
Ankush Menat 2024-01-11 17:34:26 +05:30
parent 851a3bcf59
commit 1e83b2e848

View file

@ -84,7 +84,7 @@ def write_catalog(app: str, catalog: Catalog, locale: str | None = None) -> Path
po_path.parent.mkdir(parents=True)
with open(po_path, "wb") as f:
write_po(f, catalog, sort_output=True, ignore_obsolete=True)
write_po(f, catalog, sort_output=True, ignore_obsolete=True, width=None)
return po_path