replace ::cast_dynamic() with relevant ActionManager::get_*_action() calls
[ardour.git] / tools / nofuzz.sh
1 #!/bin/sh
2 ## this script should be run from the top-level source dir
3 ## it remove all fuzzy and obsolte translations and wraps
4 ## long lines.
5 ##
6 ## update .po and .pot files:
7  ./waf i18n_pot
8
9 TEMPFILE=`mktemp`
10 for file in `git ls-files | grep -e '.po$'`; do
11         cp $file $TEMPFILE
12         msgattrib -o $file --no-fuzzy --no-obsolete $TEMPFILE
13 done
14 rm $TEMPFILE