blob: ac9bd1ab5905e25a33955dd7d99b1c3b203e5351 (
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'])
|