aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/po/init-po.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--po/init-po.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/po/init-po.sh b/po/init-po.sh
new file mode 100644
index 0000000..0830875
--- /dev/null
+++ b/po/init-po.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+lang=$1
+
+echo "$lang" >> po/LINGUAS
+sort -u po/LINGUAS -o po/LINGUAS
+
+msginit -i po/weltschmerz.pot -o "po/${lang}.po" --locale "$lang" --no-translator