summaryrefslogtreecommitdiffstats
path: root/bin/pykolab-update-lang
blob: 91d70fdf96f9abbbe5927e0d920ae1c564bfecfa (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

echo "Updating language files"
cd po/
intltool-update --pot
if [ "$1" == "po" ]; then
    ls *po | cut -f1 -d'.' | xargs -I'{}' intltool-update -d '{}'
fi
cd ..