File: makepot

package info (click to toggle)
mate-user-guide 1.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 73,636 kB
  • sloc: xml: 12,975; sh: 197; makefile: 104
file content (12 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download
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