init.sh

  1. #!/bin/bash
  2. set -x #echo on
  3.  
  4. # Initialize
  5. find ../application/controllers ../application/views -name "*.php" > phplist.tmp
  6. xgettext --from-code=UTF-8 --add-comments=_ -o messages.pot --files-from=phplist.tmp
  7. #echo "messages.pot"
  8.  

Proinf.net