From d28ace27369edbda2098e0ba6365c4d30954a282 Mon Sep 17 00:00:00 2001 From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:19:36 -0500 Subject: [PATCH] cinnamon-spices-makepot: Match with Poedit default width (#567) --- cinnamon-spices-makepot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinnamon-spices-makepot b/cinnamon-spices-makepot index 7344a239..9fc5c72c 100755 --- a/cinnamon-spices-makepot +++ b/cinnamon-spices-makepot @@ -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) @@ -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: