aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/po/init-po.sh
blob: 6a1faffe212603b27694f491e2a9d4a311a6adb4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

         



                                                                   





                                                                                 
#!/bin/sh

set -e

test $# -gt 0 || { echo "usage: init-po.sh <language>" && exit 1; }

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