summaryrefslogtreecommitdiff
path: root/createpot.sh
blob: 8c73f76e68d5e52416a4134b2a1892ef41c4ae8a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Create the .pot file
# Thanks to porthole for inspiration ;)

files=$(find -name "*.py")
xgettext -k_ -kN_ -L glade -o i18n/messages.pot  portato/gui/templates/portato.glade
xgettext -k_ -kN_ -j --from-code=UTF-8 -o i18n/messages.pot $files