summaryrefslogtreecommitdiff
path: root/resources/locale/compile-po.sh
blob: 80d9411557c6bc22efc7b4fbbf921c442d323307 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# get directory of script and cd to it
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd $DIR

for d in `ls -d */`
do
    echo -n "$d "
    msgfmt -c -v $d/LC_MESSAGES/*.po -o $d/LC_MESSAGES/gnomepie.mo
done