Simplify and addapt to current messages.
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
|
||||
phpfiles=`find . -type f -a -name '*.php' -a -not -path '*/lang/*'`
|
||||
|
||||
sed -n '/^\$str/ s/\$\([^ ]*\) .*/\1/p' lang/english-iso-8859-1.inc.php \
|
||||
| grep -v ^strTransformation_ \
|
||||
grep -o 'str[A-Z][a-zA-Z_]*' lang/english-iso-8859-1.inc.php \
|
||||
| grep -Ev '^str(Transformation_|ShowStatus)' \
|
||||
| while read x
|
||||
do
|
||||
echo "Checking for $x" >&2
|
||||
if [ `grep -r "\\<$x\\>" $phpfiles | wc -l` -eq 0 ]
|
||||
if [ `grep -r "\\<$x\\>" $phpfiles | wc -l` -eq 0 ]
|
||||
then
|
||||
echo $x
|
||||
fi
|
||||
|
Reference in New Issue
Block a user