Adjust to work better with current master.
This commit is contained in:
@@ -10,7 +10,7 @@ tmp2=`mktemp`
|
||||
grep -o '^\$\<str[A-Z][a-zA-Z0-9_]*\>' libraries/messages.inc.php \
|
||||
| tr -d '$' \
|
||||
| grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1
|
||||
grep -ho '\<str[A-Z][a-zA-Z0-9_]*\>' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php'` \
|
||||
grep -ho '\<str[A-Z][a-zA-Z0-9_]*\>' `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
|
||||
|
Reference in New Issue
Block a user