mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
add script to clean up translations
This commit is contained in:
parent
4316eda89f
commit
a4b6a4f8bb
1 changed files with 14 additions and 0 deletions
14
tools/nofuzz.sh
Executable file
14
tools/nofuzz.sh
Executable file
|
|
@ -0,0 +1,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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue