summaryrefslogtreecommitdiff
path: root/tools/nofuzz.sh
blob: cf0a1ac8aabe5387c77eb72d37e8d5e68d1e53a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
## this script should be run from the top-level source dir
## it remove all fuzzy and obsolte translations and wraps
## long lines.
##
## update .po and .pot files:
 ./waf i18n_pot

TEMPFILE=`mktemp`
for file in `git ls-files | grep -e '.po$'`; do
	cp $file $TEMPFILE
	msgattrib -o $file --no-fuzzy --no-obsolete $TEMPFILE
done
rm $TEMPFILE