Show
Ignore:
Timestamp:
01/12/05 12:51:53 (8 years ago)
Author:
aprilp
Message:

*** empty log message ***

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/locale/gen.sh

    r324 r325  
    1 for i in "fr"; do 
     1for i in fr; do 
    22    echo > smarty.txt 
    33    find ../templates -name "*.html" -exec ./gensmarty.pl {} >> smarty.txt \; 
     
    55 
    66    FILE="$i/LC_MESSAGES/messages.po" 
    7     if [ -f $FILE ]; then 
    8         find .. -name "*.php" -exec xgettext -C -j -o $FILE --keyword=_ {} \; 
    9         xgettext -C -j -o $FILE --keyword=_ smarty.txt 
    10     else 
    11         find .. -name "*.php" -exec xgettext -C -o $FILE --keyword=_ {} \; 
    12         xgettext -C -j -o $FILE --keyword=_ smarty.txt 
    13     fi 
    14  
     7    find .. -maxdepth 1 -name "*.php" -exec xgettext -C -j -o $FILE --keyword=_ {} \; 
     8    for dir in admin classes include local_content login portal user_management; do 
     9        find ../$dir -maxdepth 1 -name "*.php" -exec xgettext -C -j -o $FILE --keyword=_ {} \; 
     10    done 
     11    xgettext -C -j -o $FILE --keyword=_ smarty.txt 
    1512done