summaryrefslogtreecommitdiff
path: root/createpot.sh
diff options
context:
space:
mode:
authornecoro <>2007-08-05 04:11:46 +0000
committernecoro <>2007-08-05 04:11:46 +0000
commit8fe46a012d17eaa874abf63b9be93c6f11b8df97 (patch)
tree517e994fa610586e83d297997a4865f7b3b86af4 /createpot.sh
parent0087f656a2d9fe962d874ae73f5759dbfc09f634 (diff)
downloadportato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.gz
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.bz2
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.zip
i18n support and german translations
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
+