summaryrefslogtreecommitdiff
path: root/createpot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'createpot.sh')
-rwxr-xr-xcreatepot.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/createpot.sh b/createpot.sh
new file mode 100755
index 0000000..8c73f76
--- /dev/null
+++ b/createpot.sh
@@ -0,0 +1,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
+