blob: 0687152748a9ffecdf8703d12d52aa6d3abfd772 (
plain)
1
2
3
4
5
6
7
8
9
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']))
|