Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/creactiweb/_templates/po/create_pot.sh_tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'creactiweb/_templates/po/create_pot.sh_tmpl')
-rw-r--r--creactiweb/_templates/po/create_pot.sh_tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/creactiweb/_templates/po/create_pot.sh_tmpl b/creactiweb/_templates/po/create_pot.sh_tmpl
new file mode 100644
index 0000000..847847b
--- /dev/null
+++ b/creactiweb/_templates/po/create_pot.sh_tmpl
@@ -0,0 +1,8 @@
+#/bin/sh
+# gen pot file
+python mki18n.py -p --domain=org.laptop.{{package.capitalize()}}Activity
+# set utf-8 charset
+sed 's/CHARSET/utf-8/g' -i messages.pot
+# gen dummy po files
+cp messages.pot org.laptop.{{package.capitalize()}}Activity_en.po
+cp messages.pot org.laptop.{{package.capitalize()}}Activity_fr.po