diff --git a/scripts/find_unused_messages.sh b/scripts/find_unused_messages.sh index c557c0dae..ea8394b4b 100755 --- a/scripts/find_unused_messages.sh +++ b/scripts/find_unused_messages.sh @@ -10,7 +10,7 @@ tmp2=`mktemp` grep -o '^\$\' libraries/messages.inc.php \ | tr -d '$' \ | grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1 -grep -ho '\' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php'` \ +grep -ho '\' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php' -a -not -path '*/js/messages.php' -a -not -path '*.js'` \ | grep -Ev '^str(Transformation_|ShowStatus|Setup)' | sort -u > $tmp2 echo Please note that you need to check results of this script, it doesn\'t