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

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

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