blob: f4e844b9518ed4816273109bb4eae65a50df3249 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env python
import pyembroidery
# generate fake python code containing the descriptions of pyembroidery formats
# as gettext calls so that pybabel will extract them into messages.po
for format in pyembroidery.supported_formats():
print("# L10N description for pyembroidery file format: %s" % format['extension'])
print("_(%s)" % repr(format['description']))
|