summaryrefslogtreecommitdiff
path: root/makepot
blob: e7f8f02605814171ce0dcb2aa30f06e8d0e721b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

PACKAGE=mate-user-guide;

# normal translations for the package
make -C po $PACKAGE.pot && mv po/$PACKAGE.pot .
sed -i "/#, fuzzy/d" $PACKAGE.pot
sed -i 's/charset=CHARSET/charset=UTF-8/g' $PACKAGE.pot

# translations for the quide itself
rm -f $PACKAGE/$PACKAGE.pot &&
make -C $PACKAGE $PACKAGE.pot