KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/phpMyAdmin/lang/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/phpMyAdmin/lang/translatecount.sh
#!/bin/sh
# $Id: translatecount.sh 5152 2003-11-18 15:20:45Z nijel $
##
# Shell script to produce counts of just how out of date the translations are!
##
# Accepts optional parameters of a list of files to produce counts from
# Defaults to using all files
##
# Written by Robin Johnson <robbat2 at users.sourceforge.net>
##
srcfilelist=${@}
destfilelist=""
translationmatch='//to translate'
suffixtoremove='.inc.php'
added=0
if [ -z "${srcfilelist}" ]; then
  srcfilelist="*.inc.php"
  added=1
fi;
for i in ${srcfilelist}; do 
  if [ ! -e ${i} ]; then
    $i=`eval ${i}*php3`
  fi
  if [ -e ${i} ]; then
    destfilelist="${destfilelist} ${i}"
  fi;
done;
destfilelist=`echo ${destfilelist} | xargs -n1 | egrep '.inc.php$'` 
if [ ! -z "${destfilelist}" ]; then
  grep -c -- "${translationmatch}" ${destfilelist} | sort -t':' -n +1  | sed -e "s/${suffixtoremove}//g" | xargs -n1 | egrep -v ':0$' 
fi;

Anon7 - 2021