Simplify and addapt to current messages.

This commit is contained in:
Michal Čihař
2005-10-08 11:45:50 +00:00
parent 90f8f6b1fe
commit c3b3b47080
2 changed files with 5 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ $Source$
* read_dump.php: Remove unused code. * read_dump.php: Remove unused code.
* ldi_check.php, ldi_table.php: Remove unused code. * ldi_check.php, ldi_table.php: Remove unused code.
* tbl_change.php: Remove references to ldi_*. * tbl_change.php: Remove references to ldi_*.
* scripts/find_unused_messages.sh: Simplify and addapt to current
messages.
2005-10-07 Marc Delisle <lem9@users.sourceforge.net> 2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a * libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a

View File

@@ -4,8 +4,8 @@
phpfiles=`find . -type f -a -name '*.php' -a -not -path '*/lang/*'` 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 -o 'str[A-Z][a-zA-Z_]*' lang/english-iso-8859-1.inc.php \
| grep -v ^strTransformation_ \ | grep -Ev '^str(Transformation_|ShowStatus)' \
| while read x | while read x
do do
echo "Checking for $x" >&2 echo "Checking for $x" >&2