From 731ac2868e30dbccf5771abf79564d8bab1156c2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 27 Jul 2025 07:28:20 +0200 Subject: rename pyembroidery to pystitch (#3889) ... and remove it as a submodule (use pip to install) --- bin/pystitch-gettext | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/pystitch-gettext (limited to 'bin/pystitch-gettext') diff --git a/bin/pystitch-gettext b/bin/pystitch-gettext new file mode 100755 index 00000000..06871527 --- /dev/null +++ b/bin/pystitch-gettext @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +import pystitch + + +# generate fake python code containing the descriptions of pystitch formats +# as gettext calls so that pybabel will extract them into messages.po +for format in pystitch.supported_formats(): + print("# L10N description for pystitch file format: %s" % format['extension']) + print("_(%s)" % repr(format['description'])) -- cgit v1.2.3