Skip to content

Commit

Permalink
cinnamon-spices-makepot: Match with Poedit default width (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcalixte authored Feb 7, 2024
1 parent 7dcee23 commit d28ace2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cinnamon-spices-makepot
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def make_pot(uuid: str, _all: bool = False):
print(f"{uuid}: metadata.json or version not found")
version = "1.0"
address = 'https://github.com/linuxmint/cinnamon-spices-extensions/issues'
subprocess.run(["xgettext", "--no-wrap", "--package-name", uuid,
subprocess.run(["xgettext", "-w", "79", "--package-name", uuid,
"--foreign-user", "--msgid-bugs-address", address,
"--package-version", version, "-o", outfile, outfile],
check=True)
Expand All @@ -142,7 +142,7 @@ def make_pot(uuid: str, _all: bool = False):
po_lang = po_ext.split('.')[0]
subprocess.run(["intltool-update", "-g", uuid, "-d", po_lang],
check=True)
subprocess.run(["msgattrib", "--no-obsolete", "--no-wrap", "-o",
subprocess.run(["msgattrib", "--no-obsolete", "-w", "79", "-o",
po_ext, po_ext],
check=True)
if po_list:
Expand Down

0 comments on commit d28ace2

Please sign in to comment.